]> granicus.if.org Git - sudo/commitdiff
time.h, not sys/time.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 24 Sep 1998 15:36:24 +0000 (15:36 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 24 Sep 1998 15:36:24 +0000 (15:36 +0000)
check.c
logging.c

diff --git a/check.c b/check.c
index 9a05f24710654055b0712064dfe6792e815ff5b3..8e759d2be87bda46724fa0cee26368c6a592d3f6 100644 (file)
--- a/check.c
+++ b/check.c
@@ -55,10 +55,10 @@ static char rcsid[] = "$Id$";
 #include <strings.h>
 #endif /* HAVE_STRINGS_H */
 #include <fcntl.h>
+#include <time.h>
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <sys/time.h>
 #include <sys/file.h>
 #include <netinet/in.h>
 #include <pwd.h>
index c0e76371b8b83d0b9f544375c97dea0f1e12a846..d89ad59050f23a7e9169ff3cfacdb5bb3c5af24a 100644 (file)
--- a/logging.c
+++ b/logging.c
@@ -60,8 +60,8 @@ static char rcsid[] = "$Id$";
 #endif /* HAVE_MALLOC_H && !STDC_HEADERS */
 #include <pwd.h>
 #include <signal.h>
+#include <time.h>
 #include <sys/types.h>
-#include <sys/time.h>
 #include <sys/param.h>
 #include <sys/stat.h>
 #include <sys/wait.h>