summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-11-12 17:24:53 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-11-12 17:24:53 +0000
commit1b0f3b018bbb181171539c01dbbf11a69e2de9b3 (patch)
treeea16faa711b3866b116d96fe19d8b16ba9c04322 /usr.sbin
parentc1174506bc3ee3effa47838f01cc324ed29b6137 (diff)
some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ntpd/ntp.c3
-rw-r--r--usr.sbin/ntpd/ntpd.h3
-rw-r--r--usr.sbin/ntpd/util.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/ntp.c b/usr.sbin/ntpd/ntp.c
index 6b814af526c..266e0b7cbd2 100644
--- a/usr.sbin/ntpd/ntp.c
+++ b/usr.sbin/ntpd/ntp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntp.c,v 1.41 2004/11/10 11:47:28 henning Exp $ */
+/* $OpenBSD: ntp.c,v 1.42 2004/11/12 17:24:52 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -27,6 +27,7 @@
#include <signal.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "ntpd.h"
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h
index 06b0b3de37e..34f15511709 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.43 2004/11/10 11:47:28 henning Exp $ */
+/* $OpenBSD: ntpd.h,v 1.44 2004/11/12 17:24:52 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -20,6 +20,7 @@
#include <sys/uio.h>
#include <sys/socket.h>
#include <sys/queue.h>
+#include <sys/time.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
diff --git a/usr.sbin/ntpd/util.c b/usr.sbin/ntpd/util.c
index 5749c830d58..ac980de537c 100644
--- a/usr.sbin/ntpd/util.c
+++ b/usr.sbin/ntpd/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.8 2004/07/10 22:24:20 alexander Exp $ */
+/* $OpenBSD: util.c,v 1.9 2004/11/12 17:24:52 henning Exp $ */
/*
* Copyright (c) 2004 Alexander Guy <alexander.guy@andern.org>
@@ -17,6 +17,7 @@
*/
#include <sys/time.h>
+#include <limits.h>
#include "ntpd.h"