summaryrefslogtreecommitdiffstats
path: root/compat/ifaddrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/ifaddrs.h')
-rwxr-xr-xcompat/ifaddrs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/ifaddrs.h b/compat/ifaddrs.h
index 4202b609..ec359c13 100755
--- a/compat/ifaddrs.h
+++ b/compat/ifaddrs.h
@@ -1,3 +1,5 @@
+#include "config.h"
+#ifndef HAVE_GETIFADDRS
/*
* CDDL HEADER START
*
@@ -84,3 +86,4 @@ extern void freeifaddrs(struct ifaddrs *);
#endif
#endif /* _IFADDRS_H */
+#endif /* HAVE_GETIFADDRS */