summaryrefslogtreecommitdiffstats
path: root/stream/pnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/pnm.c')
-rw-r--r--stream/pnm.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/stream/pnm.c b/stream/pnm.c
index d9d9513897..946d9273c2 100644
--- a/stream/pnm.c
+++ b/stream/pnm.c
@@ -35,17 +35,9 @@
#include <stdlib.h>
#include <sys/time.h>
#include <inttypes.h>
-#ifndef HAVE_WINSOCK2_H
-#define closesocket close
-#include <sys/socket.h>
-//#include <netinet/in.h>
-//#include <netdb.h>
-#else
-#include <winsock2.h>
-#endif
#include "libavutil/intreadwrite.h"
-
+#include "network.h"
#include "stream.h"
#include "libmpdemux/demuxer.h"
#include "help_mp.h"