diff --git a/configure b/configure
index 65839df6de57f1746e2c5dcc9f4e1ea897ee1a71..9c6ce0ab8d5973c154acea6706a34a9118ec6c9b 100755
--- a/configure
+++ b/configure
@@ -2498,6 +2498,7 @@ case $target_os in
         add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
         ;;
     gnu)
+        add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
         ;;
     qnx)
         add_cppflags -D_QNX_SOURCE