diff options
Diffstat (limited to 'mach/mach.h')
-rw-r--r-- | mach/mach.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mach/mach.h b/mach/mach.h index 3ceb7b6c8c..42605af865 100644 --- a/mach/mach.h +++ b/mach/mach.h @@ -20,10 +20,8 @@ #define _MACH_H 1 -/* We must include this before using __need_FILE with <stdio.h> below. */ #include <features.h> - /* Get the basic types used by Mach. */ #include <mach/mach_types.h> @@ -79,9 +77,7 @@ extern void __mach_msg_destroy (mach_msg_header_t *msg), mach_msg_destroy (mach_msg_header_t *msg); - -#define __need_FILE -#include <stdio.h> +#include <bits/types/FILE.h> /* Open a stream on a Mach device. */ extern FILE *mach_open_devstream (mach_port_t device_port, const char *mode); |