diff options
-rw-r--r-- | hurd/hurd_types.h | 4 |
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. */ |