From: Todd C. Miller Date: Wed, 21 Jul 2010 20:00:26 +0000 (-0400) Subject: Include time.h for struct timeval. X-Git-Tag: SUDO_1_7_4~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d79363e0ce5ed8de40945cd5d1ddcc98b52a1ab;p=sudo Include time.h for struct timeval. --HG-- branch : 1.7 --- diff --git a/boottime.c b/boottime.c index ef7f1f031..37c83158d 100644 --- a/boottime.c +++ b/boottime.c @@ -17,8 +17,8 @@ #include #include -#include #include +#include #include #ifdef STDC_HEADERS diff --git a/mkstemps.c b/mkstemps.c index a46b01722..7245f1972 100644 --- a/mkstemps.c +++ b/mkstemps.c @@ -18,7 +18,9 @@ #include "config.h" #include +#include #include + #include #include #include @@ -30,6 +32,9 @@ #ifdef HAVE_UNISTD_H # include #endif /* HAVE_UNISTD_H */ +#if TIME_WITH_SYS_TIME +# include +#endif #include "sudo.h"