Fix compilation on FreeBSD 10.3 with default compiler

This commit is contained in:
eldarko 2017-05-17 11:03:24 +03:00
parent 97cd8157f7
commit 6114da6429

View File

@ -13,7 +13,7 @@
#if defined(__sun__) #if defined(__sun__)
#define _POSIX_C_SOURCE 200112L #define _POSIX_C_SOURCE 200112L
#else #else
#if !(defined(__APPLE__) && defined(__MACH__)) #if !(defined(__APPLE__) && defined(__MACH__)) && !(defined(__FreeBSD__))
#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE 600
#endif #endif
#endif #endif