summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/aio.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-02-16 21:25:45 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-02-16 21:25:45 +0000
commit49103e2ba47c8686c2c4e370bb7bcaf7599b4321 (patch)
treea1bb5c210d3ac031d50ae37f085f55682b9c93e4 /newlib/libc/sys/linux/aio.c
parentc6e48b1cd1b6d30aa485972411d78b8e308bd974 (diff)
downloadcygnal-49103e2ba47c8686c2c4e370bb7bcaf7599b4321.tar.gz
cygnal-49103e2ba47c8686c2c4e370bb7bcaf7599b4321.tar.bz2
cygnal-49103e2ba47c8686c2c4e370bb7bcaf7599b4321.zip
2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit will be defined. * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of <features.h> to preset special flags.
Diffstat (limited to 'newlib/libc/sys/linux/aio.c')
-rw-r--r--newlib/libc/sys/linux/aio.c2
1 files changed, 2 insertions, 0 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>