From: Todd C. Miller Date: Thu, 23 Jun 2005 03:04:35 +0000 (+0000) Subject: Move declatation of struct timespec to its own include files for X-Git-Tag: SUDO_1_7_0~641 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cbaca026f74671f18f17ae84c5bdbf09e213354;p=sudo Move declatation of struct timespec to its own include files for systems without it since it needs time_t defined. --- diff --git a/fileops.c b/fileops.c index c373561f5..cb1399e23 100644 --- a/fileops.c +++ b/fileops.c @@ -34,6 +34,9 @@ #if TIME_WITH_SYS_TIME # include #endif +#ifndef HAVE_TIMESPEC +# include +#endif #include "sudo.h"