aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-06-24 21:05:21 +0300
committerMartin Storsjö <martin@martin.st>2012-06-29 15:38:10 +0300
commitdfb57fc5962006cdc61a1eb13b5ef078572eecca (patch)
treeda6b3a0b03485505f18418fbb41b1ca2cc92e282 /libavformat/rtpdec.c
parentb92c7ee662b618518bff366af3274784fb141dde (diff)
downloadffmpeg-dfb57fc5962006cdc61a1eb13b5ef078572eecca.tar.gz
rtpdec: Don't explicitly include unistd.h any longer
unistd.h used to be required for gethostname. On windows, gethostname is provided by winsock2.h. Now network.h includes both unistd.h and winsock2.h if they exist. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r--libavformat/rtpdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index b3bce2408d..87d92557db 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -26,7 +26,6 @@
#include "mpegts.h"
#include "url.h"
-#include <unistd.h>
#include "network.h"
#include "rtpdec.h"