summaryrefslogtreecommitdiff
path: root/libavformat/applehttp.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-08-19 17:07:12 +0000
committerMåns Rullgård <mans@mansr.com>2010-08-19 17:07:12 +0000
commitb2125520e7a3772724c25de7771d3cc987698fd3 (patch)
treee5833d34d9856f48dfc83e715abc466fa459938f /libavformat/applehttp.c
parentdd5f3238c13e2a6a2caf4d550113219d73122fde (diff)
applehttp: define _XOPEN_SOURCE=600 as required for usleep()
Originally committed as revision 24839 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/applehttp.c')
-rw-r--r--libavformat/applehttp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/applehttp.c b/libavformat/applehttp.c
index 3d8b61d70c..3aa7ed4239 100644
--- a/libavformat/applehttp.c
+++ b/libavformat/applehttp.c
@@ -25,6 +25,7 @@
* http://tools.ietf.org/html/draft-pantos-http-live-streaming
*/
+#define _XOPEN_SOURCE 600
#include "libavutil/avstring.h"
#include "avformat.h"
#include "internal.h"