summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2014-04-11 00:06:30 +0000
committerkrw <krw@openbsd.org>2014-04-11 00:06:30 +0000
commitf34dab63c54d69094b18b8e595d872575a9b1a77 (patch)
tree858a49f8f7749f949a026a162675fb7478b93f22
parentoops, typo, spotted by Matthias Scheler (diff)
downloadwireguard-openbsd-f34dab63c54d69094b18b8e595d872575a9b1a77.tar.xz
wireguard-openbsd-f34dab63c54d69094b18b8e595d872575a9b1a77.zip
Fix tree breakage.
With r1.160 route.c needs #include <net/if_dl.h> because bsd.rd and friends don't pull in netmpls/mpls.h which is how bsd[.mp] get it. ok deraadt@ guenther@
-rw-r--r--sys/net/route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index b33ba00a30b..c5f596a861e 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.160 2014/04/10 13:55:55 mpi Exp $ */
+/* $OpenBSD: route.c,v 1.161 2014/04/11 00:06:30 krw Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -115,6 +115,7 @@
#include <sys/pool.h>
#include <net/if.h>
+#include <net/if_dl.h>
#include <net/route.h>
#include <net/raw_cb.h>