summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 3a8ce1a6f1..5918f98bc4 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -338,12 +338,12 @@ int rep_mkstemp(char *temp);
char *rep_mkdtemp(char *template);
#endif
-#ifdef HAVE_INET_PTON
+#ifndef HAVE_INET_PTON
#define inet_pton rep_inet_pton
int rep_inet_pton(int af, const char *src, void *dst);
#endif
-#ifdef HAVE_INET_NTOP
+#ifndef HAVE_INET_NTOP
#define inet_ntop rep_inet_ntop
const char *rep_inet_ntop(int af, const void *src, char *dst, size_t size);
#endif