diff options
Diffstat (limited to 'usr.sbin/dhcpd/errwarn.c')
-rw-r--r-- | usr.sbin/dhcpd/errwarn.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/usr.sbin/dhcpd/errwarn.c b/usr.sbin/dhcpd/errwarn.c index 050eb230076..e825c3b5ec2 100644 --- a/usr.sbin/dhcpd/errwarn.c +++ b/usr.sbin/dhcpd/errwarn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: errwarn.c,v 1.8 2008/05/07 12:19:20 beck Exp $ */ +/* $OpenBSD: errwarn.c,v 1.9 2016/02/06 23:50:10 krw Exp $ */ /* Errors and warnings... */ @@ -41,10 +41,22 @@ */ #include <sys/types.h> -#include <sys/uio.h> -#include <unistd.h> +#include <sys/socket.h> + +#include <net/if.h> + +#include <netinet/in.h> + #include <errno.h> +#include <stdarg.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <syslog.h> +#include <unistd.h> +#include "dhcp.h" +#include "tree.h" #include "dhcpd.h" static void do_percentm(char *obuf, size_t size, char *ibuf); |