summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/inet_ntop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/inet_ntop.h')
-rw-r--r--src/pulsecore/inet_ntop.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pulsecore/inet_ntop.h b/src/pulsecore/inet_ntop.h
index 7fb67b44..77ace6a4 100644
--- a/src/pulsecore/inet_ntop.h
+++ b/src/pulsecore/inet_ntop.h
@@ -1,12 +1,12 @@
#ifndef fooinet_ntophfoo
#define fooinet_ntophfoo
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
+#ifndef HAVE_INET_NTOP
-#include "winsock.h"
+#include <pulsecore/socket.h>
const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);
#endif
+
+#endif