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
1 changed files with 1 additions and 1 deletions

View File

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