summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>