diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-06-24 22:05:21 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-06-29 16:38:10 +0400 |
commit | dfb57fc5962006cdc61a1eb13b5ef078572eecca (patch) | |
tree | da6b3a0b03485505f18418fbb41b1ca2cc92e282 /libavformat/rtpdec.c | |
parent | b92c7ee662b618518bff366af3274784fb141dde (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>
Diffstat (limited to 'libavformat/rtpdec.c')
-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 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" |