applehttp: define _XOPEN_SOURCE=600 as required for usleep()
authorMåns Rullgård <mans@mansr.com>
Thu, 19 Aug 2010 17:07:12 +0000 (17:07 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 19 Aug 2010 17:07:12 +0000 (17:07 +0000)
Originally committed as revision 24839 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/applehttp.c

index 3d8b61d..3aa7ed4 100644 (file)
@@ -25,6 +25,7 @@
  * http://tools.ietf.org/html/draft-pantos-http-live-streaming
  */
 
  * http://tools.ietf.org/html/draft-pantos-http-live-streaming
  */
 
+#define _XOPEN_SOURCE 600
 #include "libavutil/avstring.h"
 #include "avformat.h"
 #include "internal.h"
 #include "libavutil/avstring.h"
 #include "avformat.h"
 #include "internal.h"