diff rtsp.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 3790cb6c893d
children d370d80ad1df
line wrap: on
line diff
--- a/rtsp.c	Thu Aug 14 21:48:02 2008 +0000
+++ b/rtsp.c	Thu Aug 14 22:01:59 2008 +0000
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+/* needed by inet_aton() */
+#define _SVID_SOURCE
+
 #include "libavutil/avstring.h"
 #include "avformat.h"