summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/parse.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 01:26:22 +0000
committerguenther <guenther@openbsd.org>2016-08-27 01:26:22 +0000
commit579e3f2d034b59649cd043b098bf060a7e9b2194 (patch)
tree819bc07e61f4d56b81aee6511e04c02a6dc12b3b /usr.sbin/dhcpd/parse.c
parentImplement bus dma support for loading raw mappings so that we can use (diff)
downloadwireguard-openbsd-579e3f2d034b59649cd043b098bf060a7e9b2194.tar.xz
wireguard-openbsd-579e3f2d034b59649cd043b098bf060a7e9b2194.zip
Pull in <time.h> for one or more of gmtime, strftime, strptime, time,
timegm, and tzset ok deraadt@
Diffstat (limited to 'usr.sbin/dhcpd/parse.c')
-rw-r--r--usr.sbin/dhcpd/parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/dhcpd/parse.c b/usr.sbin/dhcpd/parse.c
index 18852ce868b..615df5ae8ce 100644
--- a/usr.sbin/dhcpd/parse.c
+++ b/usr.sbin/dhcpd/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.20 2016/02/06 23:50:10 krw Exp $ */
+/* $OpenBSD: parse.c,v 1.21 2016/08/27 01:26:22 guenther Exp $ */
/* Common parser code for dhcpd and dhclient. */
@@ -52,6 +52,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "dhcp.h"
#include "tree.h"