diff options
| author | 2016-02-06 19:30:52 +0000 | |
|---|---|---|
| committer | 2016-02-06 19:30:52 +0000 | |
| commit | 711cae1e3c63d7830510355cfe2a04ad008fb43e (patch) | |
| tree | 83f9b044d463bc4b3a1a1e5e55a63bb5234145af /sbin/dhclient/parse.c | |
| parent | Convert to uiomove. From Martin Natano. (diff) | |
| download | wireguard-openbsd-711cae1e3c63d7830510355cfe2a04ad008fb43e.tar.xz wireguard-openbsd-711cae1e3c63d7830510355cfe2a04ad008fb43e.zip | |
Eliminate #include inside *.h files and include only needed headers in
each *.c file.
Inspired by mention of header silliness by Edgar Pettijohn and mmcc@
on tech@.
Diffstat (limited to 'sbin/dhclient/parse.c')
| -rw-r--r-- | sbin/dhclient/parse.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c index f53e62f1e39..8fed24971f3 100644 --- a/sbin/dhclient/parse.c +++ b/sbin/dhclient/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.39 2015/05/18 17:51:21 krw Exp $ */ +/* $OpenBSD: parse.c,v 1.40 2016/02/06 19:30:52 krw Exp $ */ /* Common parser code for dhcpd and dhclient. */ @@ -40,8 +40,23 @@ * Enterprises, see ``http://www.vix.com''. */ +#include <sys/queue.h> +#include <sys/socket.h> + +#include <net/if.h> + +#include <netinet/in.h> +#include <netinet/if_ether.h> + +#include <errno.h> +#include <limits.h> +#include <signal.h> +#include <stdio.h> +#include <stdlib.h> #include <stdint.h> +#include <string.h> +#include "dhcp.h" #include "dhcpd.h" #include "dhctoken.h" |
