summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sysconf.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-02-03 22:28:34 +0000
committerbde <bde@FreeBSD.org>1995-02-03 22:28:34 +0000
commit9c1563f3c356ac286753658dd4bf250a693757b7 (patch)
treeaaab02c66e42ba5fe24d432c331680ed332a486d /lib/libc/gen/sysconf.c
parentdf0c70091ba785f5b9ca992a612bde196989a052 (diff)
downloadFreeBSD-src-9c1563f3c356ac286753658dd4bf250a693757b7.zip
FreeBSD-src-9c1563f3c356ac286753658dd4bf250a693757b7.tar.gz
Include <time.h> instead of <sys/time.h> to get CLK_TCK. Including
<sys/time.h> works because <sys/time.h> includes <time.h> if KERNEL is not defined, but is ugly.
Diffstat (limited to 'lib/libc/gen/sysconf.c')
-rw-r--r--lib/libc/gen/sysconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/sysconf.c b/lib/libc/gen/sysconf.c
index 12d6f58..83f21a3 100644
--- a/lib/libc/gen/sysconf.c
+++ b/lib/libc/gen/sysconf.c
@@ -40,10 +40,10 @@ static char sccsid[] = "@(#)sysconf.c 8.2 (Berkeley) 3/20/94";
#include <sys/param.h>
#include <sys/sysctl.h>
-#include <sys/time.h>
#include <sys/resource.h>
#include <errno.h>
+#include <time.h>
#include <unistd.h>
/*
OpenPOWER on IntegriCloud