summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/zebra.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 404b832b..ffca7a8f 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -142,6 +142,10 @@ typedef int socklen_t;
#include <sys/sockio.h>
#endif /* HAVE_SYS_SOCKIO_H */
+#ifdef __APPLE__
+#define __APPLE_USE_RFC_3542
+#endif
+
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif /* HAVE_NETINET_IN_H */