From: Todd C. Miller Date: Sun, 16 Aug 2009 15:12:16 +0000 (+0000) Subject: include error.h X-Git-Tag: SUDO_1_7_3~331 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20ad41f4d8db952ff4662ba5204e9f0259461b2c;p=sudo include error.h first arg to nanotime is const --- diff --git a/sudoreplay.c b/sudoreplay.c index d317ad4f8..2367e8ae5 100644 --- a/sudoreplay.c +++ b/sudoreplay.c @@ -61,6 +61,7 @@ #include #include "compat.h" +#include "error.h" #ifndef lint __unused static const char rcsid[] = "$Sudo$"; @@ -179,7 +180,7 @@ main(argc, argv) #ifndef HAVE_NANOSLEEP static int nanosleep(ts, rts) - struct timespec *ts; + const struct timespec *ts; struct timespec *rts; { struct timeval timeout, endtime, now;