summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-04-05 21:43:35 +0000
committerRoland McGrath <roland@gnu.org>1995-04-05 21:43:35 +0000
commit9ed36c0c5559e063836e5871411e2cbfbe88b1eb (patch)
treecf9380c196888633c53cf61195f641e730236316
parent1677badb89403bfea78a8adc602cdbdd1f6f0663 (diff)
Don't include <errno.h>. Define `errno' variable.
-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;