about summary refs log tree commit diff
path: root/conf/portability.h
diff options
context:
space:
mode:
Diffstat (limited to 'conf/portability.h')
-rw-r--r--conf/portability.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/portability.h b/conf/portability.h
index ab41b5d977..a3c6302544 100644
--- a/conf/portability.h
+++ b/conf/portability.h
@@ -18,3 +18,9 @@
    #ifdef sun.  */
 
 #undef sun
+
+/* The source code copied from BIND for inet_addr/inet_aton
+   doesn't actually define the functions without these macros.  */
+
+#define NEED_INETADDR
+#define NEED_INETATON