include: Don't redefine _GNU_SOURCE.
This commit is contained in:
parent
e0bb0adee5
commit
128bfdf6da
|
@ -29,7 +29,9 @@
|
||||||
# error You must include port.h before all other headers
|
# error You must include port.h before all other headers
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _GNU_SOURCE /* for pread/pwrite */
|
#ifndef _GNU_SOURCE
|
||||||
|
# define _GNU_SOURCE /* for pread/pwrite */
|
||||||
|
#endif
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
Loading…
Reference in New Issue