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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/inet_pton.h b/src/pulsecore/inet_pton.h
index 9d9c476a..913efc4c 100644
--- a/src/pulsecore/inet_pton.h
+++ b/src/pulsecore/inet_pton.h
@@ -1,8 +1,12 @@
#ifndef fooinet_ptonhfoo
#define fooinet_ptonhfoo
+#ifndef HAVE_INET_PTON
+
#include <pulsecore/socket.h>
int inet_pton(int af, const char *src, void *dst);
#endif
+
+#endif