summaryrefslogtreecommitdiffstats
path: root/stream/rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/rtp.c')
-rw-r--r--stream/rtp.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/stream/rtp.c b/stream/rtp.c
index f4b84fc3b4..c2a3857651 100644
--- a/stream/rtp.c
+++ b/stream/rtp.c
@@ -12,17 +12,9 @@
#include <stdio.h>
#include <sys/types.h>
#include <ctype.h>
-#include "config.h"
-#ifndef HAVE_WINSOCK2_H
-#include <netinet/in.h>
-#include <sys/socket.h>
-#include <arpa/inet.h>
-#define closesocket close
-#else
-#include <winsock2.h>
-#include <ws2tcpip.h>
-#endif
#include <errno.h>
+#include "config.h"
+#include "network.h"
#include "stream.h"
/* MPEG-2 TS RTP stack */