On 8/22/11 10:46 AM, Colin Watson wrote:

diff --git a/configure b/configure
index 9c6ce0a..aba24c6 100755
--- a/configure
+++ b/configure
@@ -2464,7 +2464,7 @@ case $target_os in
          add_cppflags -U__STRICT_ANSI__
          ;;
      linux)
-        add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
+        add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
          enable dv1394
          ;;
      irix*)


Doesn't look unreasonable, I wonder why nobody noticed it before.

btw from features.h

#if defined _BSD_SOURCE || defined _SVID_SOURCE
# define __USE_MISC     1
#endif



lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to