diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-06-29 00:58:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-06-29 00:58:46 +0000 |
commit | b8e081f26780ff741c9a259c84210e0c43b7de03 (patch) | |
tree | 7e8a6d75e6d79dec29e770c2a4b8c5033e13a38c /usr.sbin/rtadvd | |
parent | 1c946f7fa0119302ed4f68abfc9482b46b9c5748 (diff) |
If you want <sys/queue.h>, you need to include it. Don't assume that
<sys/sysctl.h> will pull in the universe (I am working on breaking that
assumption in a gentle fashion)
Diffstat (limited to 'usr.sbin/rtadvd')
-rw-r--r-- | usr.sbin/rtadvd/config.c | 3 | ||||
-rw-r--r-- | usr.sbin/rtadvd/if.c | 3 | ||||
-rw-r--r-- | usr.sbin/rtadvd/rrenum.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c index aa9bcbec668..ff22de43c0b 100644 --- a/usr.sbin/rtadvd/config.c +++ b/usr.sbin/rtadvd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.40 2013/10/17 16:27:48 bluhm Exp $ */ +/* $OpenBSD: config.c,v 1.41 2014/06/29 00:58:45 deraadt Exp $ */ /* $KAME: config.c,v 1.62 2002/05/29 10:13:10 itojun Exp $ */ /* @@ -35,6 +35,7 @@ #include <sys/socket.h> #include <sys/time.h> #include <sys/sysctl.h> +#include <sys/queue.h> #include <net/if.h> #include <net/route.h> diff --git a/usr.sbin/rtadvd/if.c b/usr.sbin/rtadvd/if.c index eb3f464adbc..db8bbd861a1 100644 --- a/usr.sbin/rtadvd/if.c +++ b/usr.sbin/rtadvd/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.25 2013/03/21 04:43:15 deraadt Exp $ */ +/* $OpenBSD: if.c,v 1.26 2014/06/29 00:58:45 deraadt Exp $ */ /* $KAME: if.c,v 1.17 2001/01/21 15:27:30 itojun Exp $ */ /* @@ -33,6 +33,7 @@ #include <sys/param.h> #include <sys/socket.h> #include <sys/sysctl.h> +#include <sys/queue.h> #include <sys/ioctl.h> #include <net/if.h> #include <net/if_types.h> diff --git a/usr.sbin/rtadvd/rrenum.c b/usr.sbin/rtadvd/rrenum.c index 484dac6277a..712ecef91aa 100644 --- a/usr.sbin/rtadvd/rrenum.c +++ b/usr.sbin/rtadvd/rrenum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rrenum.c,v 1.16 2013/10/17 16:27:48 bluhm Exp $ */ +/* $OpenBSD: rrenum.c,v 1.17 2014/06/29 00:58:45 deraadt Exp $ */ /* $KAME: rrenum.c,v 1.11 2002/05/21 14:26:55 itojun Exp $ */ /* @@ -34,6 +34,7 @@ #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/sysctl.h> +#include <sys/queue.h> #include <net/if.h> #include <net/route.h> |