summaryrefslogtreecommitdiffstats
path: root/stream/pnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/pnm.c')
-rw-r--r--stream/pnm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/pnm.c b/stream/pnm.c
index d9d9513897..1ef86e620c 100644
--- a/stream/pnm.c
+++ b/stream/pnm.c
@@ -36,7 +36,6 @@
#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>
@@ -50,7 +49,7 @@
#include "libmpdemux/demuxer.h"
#include "help_mp.h"
#include "osdep/timer.h"
-
+#include "network.h"
#include "pnm.h"
#include "tcp.h"
//#include "libreal/rmff.h"