summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/humandate.c
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2001-08-29 14:35:15 +0000
committerroberto <roberto@FreeBSD.org>2001-08-29 14:35:15 +0000
commit40b8e415eb0f835a9dd7a473ddf134ec67877fd7 (patch)
tree3cfb63f1a112ee17469b17fc1593a88d004ddda6 /contrib/ntp/libntp/humandate.c
parenta5a8dc6136fcee95f261a31609a25669038c3861 (diff)
downloadFreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.zip
FreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.tar.gz
Virgin import of ntpd 4.1.0
Diffstat (limited to 'contrib/ntp/libntp/humandate.c')
-rw-r--r--contrib/ntp/libntp/humandate.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/ntp/libntp/humandate.c b/contrib/ntp/libntp/humandate.c
index f663c9e..7995633 100644
--- a/contrib/ntp/libntp/humandate.c
+++ b/contrib/ntp/libntp/humandate.c
@@ -2,16 +2,11 @@
* humandate - convert an NTP (or the current) time to something readable
*/
#include <stdio.h>
-#include "time.h"
#include "ntp_fp.h"
-#include "ntp_unixtime.h" /* includes <sys/time.h> */
+#include "ntp_unixtime.h" /* includes <sys/time.h> and <time.h> */
#include "lib_strbuf.h"
#include "ntp_stdlib.h"
-#ifdef TIME_WITH_SYS_TIME
-#include <time.h>
-#endif
-
static const char *months[] = {
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
OpenPOWER on IntegriCloud