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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pulsecore/inet_pton.h b/src/pulsecore/inet_pton.h
new file mode 100644
index 00000000..111b4a07
--- /dev/null
+++ b/src/pulsecore/inet_pton.h
@@ -0,0 +1,12 @@
+#ifndef fooinet_ptonhfoo
+#define fooinet_ptonhfoo
+
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
+#include "winsock.h"
+
+int inet_pton(int af, const char *src, void *dst);
+
+#endif