summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/inet_pton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/inet_pton.h')
-rw-r--r--src/pulsecore/inet_pton.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pulsecore/inet_pton.h b/src/pulsecore/inet_pton.h
index 111b4a07..913efc4c 100644
--- a/src/pulsecore/inet_pton.h
+++ b/src/pulsecore/inet_pton.h
@@ -1,12 +1,12 @@
#ifndef fooinet_ptonhfoo
#define fooinet_ptonhfoo
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
+#ifndef HAVE_INET_PTON
-#include "winsock.h"
+#include <pulsecore/socket.h>
int inet_pton(int af, const char *src, void *dst);
#endif
+
+#endif