summaryrefslogtreecommitdiff
path: root/boot/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/boot.c')
-rw-r--r--boot/boot.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/boot/boot.c b/boot/boot.c
index e9fb11d9..6ed9f86a 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -22,10 +22,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <mach.h>
#include <mach/notify.h>
-#include <errno.h>
#include <device/device.h>
#include <a.out.h>
-#include <fcntlbits.h>
#include <mach/message.h>
#include <mach/mig_errors.h>
#include <stdlib.h>
@@ -33,6 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
#include <cthreads.h>
#include <varargs.h>
+#include <fcntlbits.h>
#include "notify_S.h"
#include "exec_S.h"
@@ -46,6 +45,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <hurd/auth.h>
+#undef errno
+int errno;
+
mach_port_t privileged_host_port, master_device_port;
mach_port_t pseudo_master_device_port;
mach_port_t receive_set;