diff os_support.c @ 3722:68749aaea50f libavformat

ensure we get explicit definition of various _XOPEN_SOURCE functions we use
author aurel
date Thu, 14 Aug 2008 22:01:59 +0000
parents 1135ef610233
children 81726233f9b3
line wrap: on
line diff
--- a/os_support.c	Thu Aug 14 21:48:02 2008 +0000
+++ b/os_support.c	Thu Aug 14 22:01:59 2008 +0000
@@ -19,6 +19,10 @@
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
+
+/* needed by inet_aton() */
+#define _SVID_SOURCE
+
 #include "config.h"
 #include "avformat.h"
 #include <unistd.h>