aboutsummaryrefslogtreecommitdiff
path: root/print-sll.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-sll.c')
-rw-r--r--print-sll.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/print-sll.c b/print-sll.c
index 19d2973e..eb8d620a 100644
--- a/print-sll.c
+++ b/print-sll.c
@@ -26,6 +26,11 @@
#endif
#ifdef HAVE_NET_IF_H
+/*
+ * Include diag-control.h before <net/if.h>, which too defines a macro
+ * named ND_UNREACHABLE.
+ */
+#include "diag-control.h"
#include <net/if.h>
#endif