summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ipv6_rtrequest.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/ipv6_rtrequest.c')
-rw-r--r--sys/netinet6/ipv6_rtrequest.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/netinet6/ipv6_rtrequest.c b/sys/netinet6/ipv6_rtrequest.c
index 7a62f7c5500..84489c22218 100644
--- a/sys/netinet6/ipv6_rtrequest.c
+++ b/sys/netinet6/ipv6_rtrequest.c
@@ -37,12 +37,15 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
#include <netinet6/ipv6_var.h>
#include <netinet6/ipv6_icmp.h>
-#ifdef DEBUG_NRL_SYS
+#ifdef DEBUG_NRL
#include <sys/debug.h>
-#endif /* DEBUG_NRL_SYS */
-#ifdef DEBUG_NRL_NETINET6
+#else /* DEBUG_NRL */
+#if __OpenBSD__
#include <netinet6/debug.h>
-#endif /* DEBUG_NRL_NETINET6 */
+#else /* __OpenBSD__ */
+#include <sys/debug.h>
+#endif /* __OpenBSD__ */
+#endif /* DEBUG_NRL */
/*
* Globals (and forward function declarations).