summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2011-11-06 10:29:05 +0000
committerguenther <guenther@openbsd.org>2011-11-06 10:29:05 +0000
commitfa46eaeabd1f271a129a09b848fdba1a83ea70d4 (patch)
tree4472f5989bd0365d9c10a5a7ec73f77c5c057417
parentunion wait is dead, ancient history; stop using it (diff)
downloadwireguard-openbsd-fa46eaeabd1f271a129a09b848fdba1a83ea70d4.tar.xz
wireguard-openbsd-fa46eaeabd1f271a129a09b848fdba1a83ea70d4.zip
Add a #include that's currently picked up via another header that's
violating namespace rules ok claudio@
-rw-r--r--usr.sbin/bgpd/mrt.c3
-rw-r--r--usr.sbin/ospf6d/rde.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/mrt.c b/usr.sbin/bgpd/mrt.c
index d83325252ff..855e3f0b0cd 100644
--- a/usr.sbin/bgpd/mrt.c
+++ b/usr.sbin/bgpd/mrt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mrt.c,v 1.71 2011/09/17 16:29:44 claudio Exp $ */
+/* $OpenBSD: mrt.c,v 1.72 2011/11/06 10:29:05 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
@@ -21,6 +21,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c
index cee9a87c753..14c69bd8177 100644
--- a/usr.sbin/ospf6d/rde.c
+++ b/usr.sbin/ospf6d/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.58 2011/07/07 17:10:48 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.59 2011/11/06 10:29:05 guenther Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -18,6 +18,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/param.h> /* for MIN() */
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/queue.h>