From: Todd C. Miller <Todd.Miller@courtesan.com> Date: Fri, 18 Sep 2009 13:18:56 +0000 (+0000) Subject: Need compat.h here X-Git-Tag: SUDO_1_7_3~281 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b241a9e2d804724eca0f8457d5074cc9122039c7;p=sudo Need compat.h here --- diff --git a/getdate.c b/getdate.c index b0cbb19a1..607b4c95e 100644 --- a/getdate.c +++ b/getdate.c @@ -59,6 +59,8 @@ static char yyrcsid[] #endif #include <ctype.h> +#include "compat.h" + #define EPOCH 1970 #define HOUR(x) ((time_t)(x) * 60) diff --git a/getdate.y b/getdate.y index a073890c8..00fec6a59 100644 --- a/getdate.y +++ b/getdate.y @@ -40,6 +40,8 @@ #endif #include <ctype.h> +#include "compat.h" + #define EPOCH 1970 #define HOUR(x) ((time_t)(x) * 60) diff --git a/getline.c b/getline.c index 607a7162b..5ebbd7a22 100644 --- a/getline.c +++ b/getline.c @@ -36,6 +36,8 @@ #endif /* HAVE_STRING_H */ #include <limits.h> +#include "compat.h" + #ifndef LINE_MAX # define LINE_MAX 2048 #endif