diff options
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r-- | newlib/libc/sys/linux/aio.c | 2 | ||||
-rw-r--r-- | newlib/libc/sys/linux/sys/types.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/sys/linux/aio.c b/newlib/libc/sys/linux/aio.c index de988ebfc..9a2e4ce57 100644 --- a/newlib/libc/sys/linux/aio.c +++ b/newlib/libc/sys/linux/aio.c @@ -4,6 +4,8 @@ /* Currently asynchronous I/O is not implemented. */ +#define _GNU_SOURCE 1 + #include <sys/types.h> #include <aio.h> #include <errno.h> diff --git a/newlib/libc/sys/linux/sys/types.h b/newlib/libc/sys/linux/sys/types.h index 1401b0598..ba191f072 100644 --- a/newlib/libc/sys/linux/sys/types.h +++ b/newlib/libc/sys/linux/sys/types.h @@ -50,8 +50,8 @@ * libc/include/sys/types.h. Repeat those here and * skip the kernel's definitions. */ -#include <features.h> #include <sys/config.h> +#include <features.h> #include <machine/types.h> #include <sys/_types.h> |