]> granicus.if.org Git - sudo/commitdiff
Need compat.h here
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 18 Sep 2009 13:18:56 +0000 (13:18 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 18 Sep 2009 13:18:56 +0000 (13:18 +0000)
getdate.c
getdate.y
getline.c

index b0cbb19a15a18ff67153ada6b434fc870c4c296e..607b4c95e981d21bb4feec3aa87173280d859373 100644 (file)
--- 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)
index a073890c8dca96b9ed32f326dc0af49aa85d567c..00fec6a5977b72b8d23319c1172d62c0fd99ffce 100644 (file)
--- 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)
index 607a7162b4dd3a9437dadb8f6075649d80add73d..5ebbd7a227611cc97da2fe4572a7c52ce53487bd 100644 (file)
--- 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