summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-06-24 21:05:21 +0300
committerMichael Niedermayer <michaelni@gmx.at>2012-09-07 18:41:14 +0200
commit9d0bc5c0bda05ac4441691423501bb3ee280e6e6 (patch)
tree594139066b81d0c0729826e9a753a63ef7c59edb /libavformat
parent1d4c4b0fbc7687732a894c56aaf538e255670dd5 (diff)
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> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtpdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 98f6595132..b4d013b0c1 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -27,7 +27,6 @@
#include "mpegts.h"
#include "url.h"
-#include <unistd.h>
#include "network.h"
#include "rtpdec.h"