summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8d342605..fef3bfc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -664,7 +664,7 @@ dnl -----------
dnl
if eval "test x$GCC = xyes"; then
- CXXFLAGS="$CXXFLAGS -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -pedantic -std=c++11"
+ CXXFLAGS="$CXXFLAGS -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -pedantic -std=c++11 -D_POSIX_C_SOURCE=200112L"
fi
AC_SUBST(BASE_CUR_WORKING_DIR)