From 9d0bc5c0bda05ac4441691423501bb3ee280e6e6 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ö Signed-off-by: Michael Niedermayer --- libavformat/rtpdec.c | 1 - 1 file changed, 1 deletion(-) 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 #include "network.h" #include "rtpdec.h"