diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-12-31 21:22:43 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-12-31 21:22:43 +0000 |
commit | 72bc7ae677c0c13cc45512ec2a960a2c71227142 (patch) | |
tree | 9dc1ba99b1a1de62a9ce29ab8705704de3ed1d36 | |
parent | e3fad9cd3eac21ca5d192e61a7453fc9a00f1937 (diff) |
Add missing #includes instead of assuming that some system header pulls in
the needed bits
ok deraadt@, millert@
-rw-r--r-- | usr.sbin/bgpd/printconf.c | 3 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde_attr.c | 3 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde_update.c | 3 | ||||
-rw-r--r-- | usr.sbin/bind/bin/named/main.c | 1 | ||||
-rw-r--r-- | usr.sbin/dvmrpd/parse.y | 3 | ||||
-rw-r--r-- | usr.sbin/ldpd/labelmapping.c | 3 | ||||
-rw-r--r-- | usr.sbin/ospf6d/packet.c | 3 | ||||
-rw-r--r-- | usr.sbin/relayctl/relayctl.c | 3 | ||||
-rw-r--r-- | usr.sbin/relayd/relayd.h | 4 |
9 files changed, 18 insertions, 8 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c index 2a618942276..76d260b548d 100644 --- a/usr.sbin/bgpd/printconf.c +++ b/usr.sbin/bgpd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.84 2010/08/06 14:32:13 jsg Exp $ */ +/* $OpenBSD: printconf.c,v 1.85 2010/12/31 21:22:42 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -16,6 +16,7 @@ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/bgpd/rde_attr.c b/usr.sbin/bgpd/rde_attr.c index 753d1a2e85c..097472a877a 100644 --- a/usr.sbin/bgpd/rde_attr.c +++ b/usr.sbin/bgpd/rde_attr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_attr.c,v 1.87 2010/11/18 12:18:31 claudio Exp $ */ +/* $OpenBSD: rde_attr.c,v 1.88 2010/12/31 21:22:42 guenther Exp $ */ /* * Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org> @@ -22,6 +22,7 @@ #include <netinet/in.h> +#include <limits.h> #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/usr.sbin/bgpd/rde_update.c b/usr.sbin/bgpd/rde_update.c index 8ebf4d6d1d5..0fe31765ca3 100644 --- a/usr.sbin/bgpd/rde_update.c +++ b/usr.sbin/bgpd/rde_update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_update.c,v 1.78 2010/02/11 13:18:05 claudio Exp $ */ +/* $OpenBSD: rde_update.c,v 1.79 2010/12/31 21:22:42 guenther Exp $ */ /* * Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org> @@ -19,6 +19,7 @@ #include <sys/queue.h> #include <sys/hash.h> +#include <limits.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/bind/bin/named/main.c b/usr.sbin/bind/bin/named/main.c index 18c92ebcd63..9e89cd4d32d 100644 --- a/usr.sbin/bind/bin/named/main.c +++ b/usr.sbin/bind/bin/named/main.c @@ -31,6 +31,7 @@ #include <isc/entropy.h> #include <isc/file.h> #include <isc/hash.h> +#include <isc/net.h> #include <isc/os.h> #include <isc/platform.h> #include <isc/privsep.h> diff --git a/usr.sbin/dvmrpd/parse.y b/usr.sbin/dvmrpd/parse.y index baf05e6302a..5832c8df696 100644 --- a/usr.sbin/dvmrpd/parse.y +++ b/usr.sbin/dvmrpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.21 2010/08/03 18:42:40 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.22 2010/12/31 21:22:42 guenther Exp $ */ /* * Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org> @@ -31,6 +31,7 @@ #include <net/if.h> #include <ctype.h> #include <err.h> +#include <limits.h> #include <unistd.h> #include <errno.h> #include <stdarg.h> diff --git a/usr.sbin/ldpd/labelmapping.c b/usr.sbin/ldpd/labelmapping.c index 8b325cbb908..bb4176d2118 100644 --- a/usr.sbin/ldpd/labelmapping.c +++ b/usr.sbin/ldpd/labelmapping.c @@ -1,4 +1,4 @@ -/* $OpenBSD: labelmapping.c,v 1.17 2010/11/04 09:52:16 claudio Exp $ */ +/* $OpenBSD: labelmapping.c,v 1.18 2010/12/31 21:22:42 guenther Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -29,6 +29,7 @@ #include <errno.h> #include <event.h> +#include <limits.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ospf6d/packet.c b/usr.sbin/ospf6d/packet.c index ebb5b345254..0f0e533e53f 100644 --- a/usr.sbin/ospf6d/packet.c +++ b/usr.sbin/ospf6d/packet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.10 2010/05/26 13:56:08 nicm Exp $ */ +/* $OpenBSD: packet.c,v 1.11 2010/12/31 21:22:42 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -29,6 +29,7 @@ #include <errno.h> #include <event.h> +#include <limits.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/relayctl/relayctl.c b/usr.sbin/relayctl/relayctl.c index 389f12488d5..9054f8a7214 100644 --- a/usr.sbin/relayctl/relayctl.c +++ b/usr.sbin/relayctl/relayctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relayctl.c,v 1.41 2010/01/11 06:40:14 jsg Exp $ */ +/* $OpenBSD: relayctl.c,v 1.42 2010/12/31 21:22:42 guenther Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -32,6 +32,7 @@ #include <err.h> #include <errno.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h index bb8616b4cbd..e0cec631e45 100644 --- a/usr.sbin/relayd/relayd.h +++ b/usr.sbin/relayd/relayd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.h,v 1.139 2010/11/30 14:38:45 reyk Exp $ */ +/* $OpenBSD: relayd.h,v 1.140 2010/12/31 21:22:42 guenther Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -20,6 +20,8 @@ #include <sys/tree.h> +#include <sys/param.h> /* MAXHOSTNAMELEN */ +#include <limits.h> #include <imsg.h> #define CONF_FILE "/etc/relayd.conf" |