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.
This commit is contained in:
Bruce Evans
1995-02-03 22:28:34 +00:00
parent 50c1f8972c
commit 66a96c4ca4
+1 -1
View File
@@ -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>
/*