summaryrefslogtreecommitdiffstats
path: root/stream/asf_streaming.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/asf_streaming.c')
-rw-r--r--stream/asf_streaming.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c
index 67dc7278b8..a937c23432 100644
--- a/stream/asf_streaming.c
+++ b/stream/asf_streaming.c
@@ -9,9 +9,7 @@
#include "mp_msg.h"
#include "help_mp.h"
-#ifndef HAVE_WINSOCK2_H
-#define closesocket close
-#else
+#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#endif