summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dhcpd/convert.c')
-rw-r--r--usr.sbin/dhcpd/convert.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.sbin/dhcpd/convert.c b/usr.sbin/dhcpd/convert.c
index e2750f67da9..690b92fa96b 100644
--- a/usr.sbin/dhcpd/convert.c
+++ b/usr.sbin/dhcpd/convert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: convert.c,v 1.4 2004/05/04 21:25:27 deraadt Exp $ */
+/* $OpenBSD: convert.c,v 1.5 2016/02/06 23:50:10 krw Exp $ */
/*
* Safe copying of option values into and out of the option buffer,
@@ -43,6 +43,19 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/types.h>
+#include <sys/socket.h>
+
+#include <net/if.h>
+
+#include <netinet/in.h>
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "dhcp.h"
+#include "tree.h"
#include "dhcpd.h"
u_int32_t