Define _XOPEN_SOURCE to access some libc functions on Linux
This commit is contained in:
parent
08027cac9b
commit
be3c93e2b8
|
@ -2,6 +2,8 @@
|
|||
string functions
|
||||
*/
|
||||
|
||||
#define _XOPEN_SOURCE
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#define _XOPEN_SOURCE
|
||||
|
||||
#include <sys/poll.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue