summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-04-26 01:48:08 +0000
committerRoland McGrath <roland@gnu.org>1994-04-26 01:48:08 +0000
commit4009ba9b3e6942319987726a70aebd74bf5268a5 (patch)
treef6242baf0d5ee8af629377ce468868663414672f /hurd
parent466d1add723e015ca748e1a56c6db920e549fd52 (diff)
Formerly hurd_types.h.~88~
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h
index f82d887f..2ba026d4 100644
--- a/hurd/hurd_types.h
+++ b/hurd/hurd_types.h
@@ -33,7 +33,11 @@ typedef mach_port_t addr_port_t;
typedef mach_port_t startup_t;
typedef mach_port_t proccoll_t;
+/* XXX temp hack --roland */
+#include <errno.h>
+#ifndef errno
typedef kern_return_t error_t;
+#endif
/* These names exist only because of MiG deficiencies.
You should not use them in C source; use the normal C types instead. */