Define _POSIX_SOURCE to enable POSIX extensions on some systems.

This commit is contained in:
Mark Adler 2015-07-28 23:32:35 -07:00
parent 5701f48cf5
commit 2fc6d66797

View File

@ -25,6 +25,10 @@
# include <stdlib.h> # include <stdlib.h>
# include <limits.h> # include <limits.h>
#endif #endif
#ifndef _POSIX_SOURCE
# define _POSIX_SOURCE
#endif
#include <fcntl.h> #include <fcntl.h>
#ifdef _WIN32 #ifdef _WIN32