rtpdec: Don't explicitly include unistd.h any longer
authorRonald S. Bultje <rsbultje@gmail.com>
Sun, 24 Jun 2012 18:05:21 +0000 (21:05 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 29 Jun 2012 12:38:10 +0000 (15:38 +0300)
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>
libavformat/rtpdec.c

index b3bce24..87d9255 100644 (file)
@@ -26,7 +26,6 @@
 #include "mpegts.h"
 #include "url.h"
 
-#include <unistd.h>
 #include "network.h"
 
 #include "rtpdec.h"