diff options
Diffstat (limited to 'timehint.c')
-rw-r--r-- | timehint.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8,12 +8,15 @@ * see the file COPYING in the distribution root for details. */ +#ifdef __linux__ +/* FreeBSD chokes on this */ /* nice() needs _XOPEN_SOURCE, 500 means X/Open 1995 */ #define _XOPEN_SOURCE 500 /* snprintf() needs __DARWIN_C_LEVEL >= 200112L */ #define __DARWIN_C_LEVEL 200112L /* snprintf() needs _DARWIN_C_SOURCE */ #define _DARWIN_C_SOURCE +#endif /* __linux__ */ #include <string.h> #include <libgen.h> |