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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/inet_ntop.h b/src/pulsecore/inet_ntop.h
index 7e1b2037..77ace6a4 100644
--- a/src/pulsecore/inet_ntop.h
+++ b/src/pulsecore/inet_ntop.h
@@ -1,8 +1,12 @@
#ifndef fooinet_ntophfoo
#define fooinet_ntophfoo
+#ifndef HAVE_INET_NTOP
+
#include <pulsecore/socket.h>
const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);
#endif
+
+#endif