mirror of https://github.com/getdnsapi/getdns.git
Need _GNU_SOURCE before config.h
This commit is contained in:
parent
f0f101511b
commit
f5c588c955
|
@ -19,12 +19,10 @@
|
||||||
* Emulation of getentropy(2) as documented at:
|
* Emulation of getentropy(2) as documented at:
|
||||||
* http://man.openbsd.org/getentropy.2
|
* http://man.openbsd.org/getentropy.2
|
||||||
*/
|
*/
|
||||||
|
#define _GNU_SOURCE 1
|
||||||
|
#define _POSIX_C_SOURCE 199309L
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
/*
|
|
||||||
#define _POSIX_C_SOURCE 199309L
|
|
||||||
*/
|
|
||||||
#define _GNU_SOURCE 1
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
|
Loading…
Reference in New Issue