summaryrefslogtreecommitdiffstats
path: root/polyp/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/util.c')
-rw-r--r--polyp/util.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/polyp/util.c b/polyp/util.c
index ff27430a..f1f4b2c5 100644
--- a/polyp/util.c
+++ b/polyp/util.c
@@ -59,13 +59,6 @@
#include <windows.h>
#endif
-#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
-#endif
-#ifdef HAVE_WS2TCPIP_H
-#include <ws2tcpip.h>
-#endif
-
#include <samplerate.h>
#ifdef HAVE_PWD_H
@@ -75,6 +68,8 @@
#include <grp.h>
#endif
+#include "winsock.h"
+
#include "util.h"
#include "xmalloc.h"
#include "log.h"