summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-09 16:26:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-09 16:26:04 +0000
commitad45346c8a66225f8b1a65126ee712c92b137aa1 (patch)
tree01f632b265bc17a273da17c020831cab076a5d4a /usr.sbin
parenta8a280981bedeba8d3f214883e863336bcaa2944 (diff)
missing header file; bring things into scope
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/relayd/shuffle.c3
-rw-r--r--usr.sbin/relayd/snmp.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/relayd/shuffle.c b/usr.sbin/relayd/shuffle.c
index a6ce822f9b2..fd7d3717e90 100644
--- a/usr.sbin/relayd/shuffle.c
+++ b/usr.sbin/relayd/shuffle.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: shuffle.c,v 1.1 2008/07/09 17:16:51 reyk Exp $ */
+/* $OpenBSD: shuffle.c,v 1.2 2009/06/09 16:26:03 deraadt Exp $ */
/*
* Portions Copyright (C) 2008 Theo de Raadt
@@ -22,6 +22,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <net/if.h>
#include <arpa/inet.h>
diff --git a/usr.sbin/relayd/snmp.c b/usr.sbin/relayd/snmp.c
index e063168d5f7..43fa3c91f3b 100644
--- a/usr.sbin/relayd/snmp.c
+++ b/usr.sbin/relayd/snmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmp.c,v 1.7 2009/06/07 05:56:25 eric Exp $ */
+/* $OpenBSD: snmp.c,v 1.8 2009/06/09 16:26:03 deraadt Exp $ */
/*
* Copyright (c) 2008 Reyk Floeter <reyk@openbsd.org>
@@ -21,6 +21,7 @@
#include <sys/un.h>
#include <sys/uio.h>
+#include <netinet/in.h>
#include <net/if.h>
#include <arpa/inet.h>