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.
This commit is contained in:
Jeff Johnston 2006-02-16 21:25:45 +00:00
parent c6e48b1cd1
commit 49103e2ba4
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
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.
2006-02-15 Corinna Vinschen <corinna@vinschen.de> 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/time.h (struct timeval): Change member types * libc/include/sys/time.h (struct timeval): Change member types

View File

@ -4,6 +4,8 @@
/* Currently asynchronous I/O is not implemented. */ /* Currently asynchronous I/O is not implemented. */
#define _GNU_SOURCE 1
#include <sys/types.h> #include <sys/types.h>
#include <aio.h> #include <aio.h>
#include <errno.h> #include <errno.h>

View File

@ -50,8 +50,8 @@
* libc/include/sys/types.h. Repeat those here and * libc/include/sys/types.h. Repeat those here and
* skip the kernel's definitions. */ * skip the kernel's definitions. */
#include <features.h>
#include <sys/config.h> #include <sys/config.h>
#include <features.h>
#include <machine/types.h> #include <machine/types.h>
#include <sys/_types.h> #include <sys/_types.h>