summaryrefslogtreecommitdiff
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2007-02-13 21:54:23 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2007-02-13 21:54:23 +0000
commite8e4ac2cc0138af07aedae11143389000f936bec (patch)
tree7831a511e244d96a28c121f5b1310647223540f3 /sbin/dhclient
parentdc47ed54edcad7832fe0403f0d3a3ddefd4397ff (diff)
move includes only needed in dhclient.c; ok henning@
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/dhclient.c4
-rw-r--r--sbin/dhclient/privsep.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index ce84a1cff97..752602ce923 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.108 2007/02/13 15:21:59 stevesk Exp $ */
+/* $OpenBSD: dhclient.c,v 1.109 2007/02/13 21:54:22 stevesk Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -54,6 +54,8 @@
*/
#include <ctype.h>
+#include <poll.h>
+#include <pwd.h>
#include "dhcpd.h"
#include "privsep.h"
diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h
index 85fb71ba22e..b81a37db666 100644
--- a/sbin/dhclient/privsep.h
+++ b/sbin/dhclient/privsep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.h,v 1.4 2005/08/07 01:35:11 krw Exp $ */
+/* $OpenBSD: privsep.h,v 1.5 2007/02/13 21:54:22 stevesk Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -18,9 +18,6 @@
#include <sys/types.h>
-#include <poll.h>
-#include <pwd.h>
-
struct buf {
u_char *buf;
size_t size;