Browse Source

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ö <martin@martin.st>
tags/n1.0
Ronald S. Bultje Martin Storsjö 13 years ago
parent
commit
dfb57fc596
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/rtpdec.c

+ 0
- 1
libavformat/rtpdec.c View File

@@ -26,7 +26,6 @@
#include "mpegts.h"
#include "url.h"

#include <unistd.h>
#include "network.h"

#include "rtpdec.h"


Loading…
Cancel
Save