summaryrefslogtreecommitdiff
path: root/source4/lib/replace/system/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/system/network.h')
-rw-r--r--source4/lib/replace/system/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/system/network.h b/source4/lib/replace/system/network.h
index 8c606c8f2d..7c2377301b 100644
--- a/source4/lib/replace/system/network.h
+++ b/source4/lib/replace/system/network.h
@@ -88,7 +88,7 @@
typedef int socklen_t;
#endif
-#ifdef REPLACE_INET_NTOA
+#if !defined (HAVE_INET_NTOA) || defined(REPLACE_INET_NTOA)
/* define is in "replace.h" */
char *rep_inet_ntoa(struct in_addr ip);
#endif