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