diff options
author | 2017-06-06 11:51:13 +0000 | |
---|---|---|
committer | 2017-06-06 11:51:13 +0000 | |
commit | a0f0246447db52af3bea6e0322c5c0213fbc3b79 (patch) | |
tree | f4880485c3d3b9a5fb15a6a05089019378ba8c31 | |
parent | Fix build without PF. (diff) | |
download | wireguard-openbsd-a0f0246447db52af3bea6e0322c5c0213fbc3b79.tar.xz wireguard-openbsd-a0f0246447db52af3bea6e0322c5c0213fbc3b79.zip |
Do not rely on <net/rtable.h> beeing included by other headers.
Fix build without PF, PIPEX nor IPSEC.
-rw-r--r-- | sys/net/if_etherip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_etherip.c b/sys/net/if_etherip.c index 5978cacb742..b10909a41be 100644 --- a/sys/net/if_etherip.c +++ b/sys/net/if_etherip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_etherip.c,v 1.18 2017/05/04 17:58:46 bluhm Exp $ */ +/* $OpenBSD: if_etherip.c,v 1.19 2017/06/06 11:51:13 mpi Exp $ */ /* * Copyright (c) 2015 Kazuya GODA <goda@openbsd.org> * @@ -31,6 +31,7 @@ #include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> +#include <net/rtable.h> #include <netinet/in.h> #include <netinet/ip.h> |