]> granicus.if.org Git - sudo/commitdiff
When including compat headers, use the compat dir as part of the path
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 24 Sep 2010 21:01:17 +0000 (17:01 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 24 Sep 2010 21:01:17 +0000 (17:01 -0400)
so we are sure to get the correct header.

compat/fnmatch.c
compat/glob.c
compat/mksiglist.c
compat/nanosleep.c
compat/utimes.c

index f50b522942ddf073668ea0b59d4a4b6644921b8b..81a7f2c44fc1da657e0d210a34a98f78888249cb 100644 (file)
@@ -50,8 +50,8 @@
 #endif /* HAVE_STRINGS_H */
 
 #include "missing.h"
-#include "charclass.h"
-#include "fnmatch.h"
+#include "compat/charclass.h"
+#include "compat/fnmatch.h"
 
 #undef EOS
 #define        EOS     '\0'
index 5f53f5e1839ce9cb2b2824007767237b3f57100e..ff479b88f900f38c57548531d772c970d731e961 100644 (file)
@@ -96,8 +96,8 @@
 #include <pwd.h>
 
 #include "missing.h"
-#include "glob.h"
-#include "charclass.h"
+#include "compat/glob.h"
+#include "compat/charclass.h"
 
 #define        DOLLAR          '$'
 #define        DOT             '.'
index d77ce4523366e7fa30ff2a1a9e55c0c319159d19..a72c3350a39d6791ecb168a4d93b09bd910e4f31 100644 (file)
@@ -38,7 +38,7 @@ main(int argc, char *argv[])
     static char *my_sys_siglist[NSIG];
     int i;
 
-#include "mksiglist.h"
+#include "compat/mksiglist.h"
 
     printf("#include <config.h>\n");
     printf("#include <signal.h>\n");
index d390defc889947a16afcd28ac113d9ddc28f3aea..435bf3f33017d0b31e0b8a180df34eed305b2537 100644 (file)
@@ -25,7 +25,7 @@
 # include <time.h>
 #endif
 #ifndef HAVE_TIMESPEC
-# include "timespec.h"
+# include "compat/timespec.h"
 #endif
 #include <errno.h>
 
index 626f725e9a888d6ab086b51febf8b581f6da8a2d..8d03a1dae49c9d5e89bbdeb35457b56a77428999 100644 (file)
@@ -27,7 +27,7 @@
 #ifdef HAVE_UTIME_H
 # include <utime.h>
 #else
-# include "utime.h"
+# include "compat/utime.h"
 #endif
 
 #include "missing.h"