summaryrefslogtreecommitdiffstats
path: root/freebsd/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sbin/dhclient/dhcpd.h')
-rw-r--r--freebsd/sbin/dhclient/dhcpd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/freebsd/sbin/dhclient/dhcpd.h b/freebsd/sbin/dhclient/dhcpd.h
index 0c47a9f8..d7844bc6 100644
--- a/freebsd/sbin/dhclient/dhcpd.h
+++ b/freebsd/sbin/dhclient/dhcpd.h
@@ -41,7 +41,7 @@
* $FreeBSD$
*/
-#include <rtems/bsd/sys/types.h>
+#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <sys/sockio.h>
@@ -60,6 +60,7 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
+#include <libutil.h>
#include <limits.h>
#include <netdb.h>
#include <paths.h>
@@ -207,6 +208,7 @@ struct interface_info {
int errors;
int dead;
u_int16_t index;
+ int linkstat;
};
struct timeout {
@@ -353,6 +355,8 @@ extern int log_perror;
extern struct client_config top_level_config;
+extern struct pidfh *pidfile;
+
void dhcpoffer(struct packet *);
void dhcpack(struct packet *);
void dhcpnak(struct packet *);