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 1082ec374a..98859cfe9e 100644
--- a/stream/asf_streaming.c
+++ b/stream/asf_streaming.c
@@ -10,9 +10,7 @@
#include "help_mp.h"
#include "options.h"
-#ifndef HAVE_WINSOCK2
-#define closesocket close
-#else
+#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#endif