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:
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user