diff --git a/configure.ac b/configure.ac index bdb88d451..c151c20a0 100644 --- a/configure.ac +++ b/configure.ac @@ -724,7 +724,9 @@ if ! test "x$have_clock_gettime" = xno; then LIBS="$CLOCK_LIBS" AC_RUN_IFELSE([ +#ifdef __linux__ #define _POSIX_C_SOURCE 199309L +#endif #include int main(int argc, char *argv[[]]) {