diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-06-24 21:05:21 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-07 18:41:14 +0200 |
commit | 9d0bc5c0bda05ac4441691423501bb3ee280e6e6 (patch) | |
tree | 594139066b81d0c0729826e9a753a63ef7c59edb | |
parent | 1d4c4b0fbc7687732a894c56aaf538e255670dd5 (diff) | |
download | ffmpeg-9d0bc5c0bda05ac4441691423501bb3ee280e6e6.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>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rtpdec.c | 1 |
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" |