summaryrefslogtreecommitdiffstats
path: root/if.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2014-12-20 14:11:38 +0000
committerRoy Marples <roy@marples.name>2014-12-20 14:11:38 +0000
commit71d20c8a1228f15884f3120f6db19798075612e2 (patch)
tree2a5ef7f5deb3370329a2f451eeb706b10576d77c /if.c
parent7329549972eb95b1cf67ee033badedd50e5b9e80 (diff)
downloaddhcpcd-71d20c8a1228f15884f3120f6db19798075612e2.tar.xz
Fix compile on QNX. Thanks to Will Miles.
Diffstat (limited to 'if.c')
-rw-r--r--if.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/if.c b/if.c
index 41906447..2bbb4f6c 100644
--- a/if.c
+++ b/if.c
@@ -70,6 +70,11 @@
#include "ipv4.h"
#include "ipv6nd.h"
+#ifdef __QNX__
+/* QNX carries defines for, but does not actually support PF_LINK */
+#undef IFLR_ACTIVE
+#endif
+
void
if_free(struct interface *ifp)
{