projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b92c7ee
)
rtpdec: Don't explicitly include unistd.h any longer
author
Ronald S. Bultje
<rsbultje@gmail.com>
Sun, 24 Jun 2012 18:05:21 +0000
(21:05 +0300)
committer
Martin 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
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec.c
b/libavformat/rtpdec.c
index
b3bce24
..
87d9255
100644
(file)
--- 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"