configure: use same CPPFLAGS in kFreeBSD as Linux
[libav.git] / configure
index d527ed1..970ec56 100755 (executable)
--- a/configure
+++ b/configure
@@ -2487,6 +2487,7 @@ case $target_os in
         enable dos_paths
         ;;
     gnu/kfreebsd)
+        add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
         ;;
     gnu)
         ;;