]> granicus.if.org Git - sudo/commitdiff
Add missing include of time.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 19 Jul 2010 16:42:15 +0000 (12:42 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 19 Jul 2010 16:42:15 +0000 (12:42 -0400)
--HG--
branch : 1.7

boottime.c

index a4dba43d871552a74ca036010ecbae1880652ec1..ef7f1f03136ad97f2becda026581b6512c9bc465 100644 (file)
@@ -17,6 +17,7 @@
 #include <config.h>
 
 #include <sys/param.h>
+#include <sys/time.h>
 #include <sys/types.h>
 
 #include <stdio.h>
@@ -38,6 +39,9 @@
 # include <strings.h>
 #endif /* HAVE_STRINGS_H */
 #include <limits.h>
+#if TIME_WITH_SYS_TIME
+# include <time.h>
+#endif
 
 #ifdef HAVE_SYSCTL
 # include <sys/sysctl.h>