diff options
author | 2016-04-04 16:26:00 +0000 | |
---|---|---|
committer | 2016-04-04 16:26:00 +0000 | |
commit | b6226db80b3ad59ef5fb2a16bbdc74b12e5a0920 (patch) | |
tree | 4e382fc49c57f443b24b54d14eb9a6ce14ff9de3 | |
parent | fatalx() not fatal(). (diff) | |
download | wireguard-openbsd-b6226db80b3ad59ef5fb2a16bbdc74b12e5a0920.tar.xz wireguard-openbsd-b6226db80b3ad59ef5fb2a16bbdc74b12e5a0920.zip |
Add sys/queue.h where it's needed. Unbreak userland following recent
removal from mbuf.h. ok mpi@
-rw-r--r-- | sys/net/pf_osfp.c | 3 | ||||
-rw-r--r-- | usr.bin/netstat/mbuf.c | 3 | ||||
-rw-r--r-- | usr.bin/systat/mbufs.c | 3 | ||||
-rw-r--r-- | usr.sbin/tcpdump/print-enc.c | 3 | ||||
-rw-r--r-- | usr.sbin/tcpdump/print-pflog.c | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/sys/net/pf_osfp.c b/sys/net/pf_osfp.c index d223b0a8c68..8df485c3ce4 100644 --- a/sys/net/pf_osfp.c +++ b/sys/net/pf_osfp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_osfp.c,v 1.32 2015/09/04 21:40:25 kettenis Exp $ */ +/* $OpenBSD: pf_osfp.c,v 1.33 2016/04/04 16:26:00 sthen Exp $ */ /* * Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org> @@ -23,6 +23,7 @@ # include <sys/systm.h> #include <sys/pool.h> #endif /* _KERNEL */ +#include <sys/queue.h> #include <sys/mbuf.h> #include <sys/syslog.h> diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c index f53b2940697..7f2b76e5f76 100644 --- a/usr.bin/netstat/mbuf.c +++ b/usr.bin/netstat/mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbuf.c,v 1.36 2015/09/04 08:21:01 mpi Exp $ */ +/* $OpenBSD: mbuf.c,v 1.37 2016/04/04 16:26:00 sthen Exp $ */ /* $NetBSD: mbuf.c,v 1.9 1996/05/07 02:55:03 thorpej Exp $ */ /* @@ -31,6 +31,7 @@ */ #include <sys/socket.h> +#include <sys/queue.h> #include <sys/mbuf.h> #include <sys/protosw.h> #include <sys/pool.h> diff --git a/usr.bin/systat/mbufs.c b/usr.bin/systat/mbufs.c index e58889c7ae5..4d011ed3446 100644 --- a/usr.bin/systat/mbufs.c +++ b/usr.bin/systat/mbufs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbufs.c,v 1.40 2015/04/18 09:32:59 jsg Exp $ */ +/* $OpenBSD: mbufs.c,v 1.41 2016/04/04 16:26:00 sthen Exp $ */ /* * Copyright (c) 2008 Can Erkin Acar <canacar@openbsd.org> * @@ -18,6 +18,7 @@ #include <sys/signal.h> #include <sys/socket.h> #include <sys/sysctl.h> +#include <sys/queue.h> #include <sys/mbuf.h> #include <sys/pool.h> #include <net/if.h> diff --git a/usr.sbin/tcpdump/print-enc.c b/usr.sbin/tcpdump/print-enc.c index a7039125864..98220bed5d0 100644 --- a/usr.sbin/tcpdump/print-enc.c +++ b/usr.sbin/tcpdump/print-enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-enc.c,v 1.14 2015/01/20 18:26:58 deraadt Exp $ */ +/* $OpenBSD: print-enc.c,v 1.15 2016/04/04 16:26:00 sthen Exp $ */ /* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996 @@ -26,6 +26,7 @@ #include <sys/socket.h> #include <sys/file.h> #include <sys/ioctl.h> +#include <sys/queue.h> #include <sys/mbuf.h> struct rtentry; diff --git a/usr.sbin/tcpdump/print-pflog.c b/usr.sbin/tcpdump/print-pflog.c index 7d510dcf012..8528508130c 100644 --- a/usr.sbin/tcpdump/print-pflog.c +++ b/usr.sbin/tcpdump/print-pflog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-pflog.c,v 1.28 2015/11/16 00:16:39 mmcc Exp $ */ +/* $OpenBSD: print-pflog.c,v 1.29 2016/04/04 16:26:00 sthen Exp $ */ /* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996 @@ -26,6 +26,7 @@ #include <sys/socket.h> #include <sys/file.h> #include <sys/ioctl.h> +#include <sys/queue.h> #include <sys/mbuf.h> #include <sys/proc.h> |