From dfb57fc5962006cdc61a1eb13b5ef078572eecca Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 24 Jun 2012 21:05:21 +0300 Subject: [PATCH] rtpdec: Don't explicitly include unistd.h any longer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ö --- libavformat/rtpdec.c | 1 - 1 file changed, 1 deletion(-) 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 #include "network.h" #include "rtpdec.h"