diff --git a/.gitignore b/.gitignore index 4d524a0..8ba5c0e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.project *~ aclocal.m4 autom4te.cache/ diff --git a/src/zooadd.c b/src/zooadd.c index c8fe9cc..2581c7d 100644 --- a/src/zooadd.c +++ b/src/zooadd.c @@ -8,8 +8,9 @@ #include "options.h" #ifdef HAVE_NFTW -#define _XOPEN_SOURCE 500 /* Rrequired on GLIBC */ -#define _GNU_SOURCE /* -- " -- " -- " -- */ +#define _XOPEN_SOURCE 500 /* Required on GLIBC */ +#define _GNU_SOURCE /* -- " -- " -- " -- */ +#define _POSIX_C_SOURCE 200809L /* -- " -- " -- " -- */ #include #endif