From: Ronald S. Bultje Date: Sun, 24 Jun 2012 18:05:21 +0000 (+0300) Subject: rtpdec: Don't explicitly include unistd.h any longer X-Git-Tag: v9_beta1~1305 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfb57fc5962006cdc61a1eb13b5ef078572eecca;p=platform%2Fupstream%2Flibav.git 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ö --- diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index b3bce24..87d9255 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"