From: Todd C. Miller Date: Sat, 20 Feb 2010 14:22:30 +0000 (-0500) Subject: Replace emul/include.h with compat/include.h to match new source X-Git-Tag: SUDO_1_8_0~893 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6187f5ad3db8f20bc5eaf4c7d7878738a7cc102;p=sudo Replace emul/include.h with compat/include.h to match new source tree layout. --- diff --git a/compat/fnmatch.c b/compat/fnmatch.c index 625d759cb..75669f6e6 100644 --- a/compat/fnmatch.c +++ b/compat/fnmatch.c @@ -49,8 +49,8 @@ #endif /* HAVE_STRING_H */ #include -#include "emul/fnmatch.h" -#include "emul/charclass.h" +#include "compat/fnmatch.h" +#include "compat/charclass.h" #undef EOS #define EOS '\0' diff --git a/compat/glob.c b/compat/glob.c index 5df33b596..f9594c80d 100644 --- a/compat/glob.c +++ b/compat/glob.c @@ -97,8 +97,8 @@ #include #include -#include "emul/glob.h" -#include "emul/charclass.h" +#include "compat/glob.h" +#include "compat/charclass.h" #define DOLLAR '$' #define DOT '.' diff --git a/compat/nanosleep.c b/compat/nanosleep.c index 24aca7579..ece229aad 100644 --- a/compat/nanosleep.c +++ b/compat/nanosleep.c @@ -25,7 +25,7 @@ # include #endif #ifndef HAVE_TIMESPEC -# include +# include #endif #include diff --git a/compat/utimes.c b/compat/utimes.c index 84f4c433c..0b0444355 100644 --- a/compat/utimes.c +++ b/compat/utimes.c @@ -26,7 +26,7 @@ #ifdef HAVE_UTIME_H # include #else -# include +# include #endif #include diff --git a/plugins/sudoers/check.c b/plugins/sudoers/check.c index f989bfd48..7657816ba 100644 --- a/plugins/sudoers/check.c +++ b/plugins/sudoers/check.c @@ -53,7 +53,7 @@ #include #include #ifndef HAVE_TIMESPEC -# include +# include #endif #include "sudo.h" diff --git a/plugins/sudoers/gettime.c b/plugins/sudoers/gettime.c index f6de47532..3e9ec43ae 100644 --- a/plugins/sudoers/gettime.c +++ b/plugins/sudoers/gettime.c @@ -23,7 +23,7 @@ # include #endif #ifndef HAVE_TIMESPEC -# include +# include #endif #include diff --git a/plugins/sudoers/match.c b/plugins/sudoers/match.c index 8bfbdf9a1..8757e7aec 100644 --- a/plugins/sudoers/match.c +++ b/plugins/sudoers/match.c @@ -84,10 +84,10 @@ #include #ifndef HAVE_FNMATCH -# include "emul/fnmatch.h" +# include "compat/fnmatch.h" #endif /* HAVE_FNMATCH */ #ifndef HAVE_EXTENDED_GLOB -# include "emul/glob.h" +# include "compat/glob.h" #endif /* HAVE_EXTENDED_GLOB */ #ifdef USING_NONUNIX_GROUPS # include "nonunix.h" diff --git a/plugins/sudoers/sudoreplay.c b/plugins/sudoers/sudoreplay.c index a67024a49..9ddf5c890 100644 --- a/plugins/sudoers/sudoreplay.c +++ b/plugins/sudoers/sudoreplay.c @@ -51,7 +51,7 @@ # include #endif #ifndef HAVE_TIMESPEC -# include +# include #endif #include #include diff --git a/plugins/sudoers/testsudoers.c b/plugins/sudoers/testsudoers.c index a551be55f..fb0f60657 100644 --- a/plugins/sudoers/testsudoers.c +++ b/plugins/sudoers/testsudoers.c @@ -67,7 +67,7 @@ #include #ifndef HAVE_FNMATCH -# include "emul/fnmatch.h" +# include "compat/fnmatch.h" #endif /* HAVE_FNMATCH */ /* diff --git a/plugins/sudoers/visudo.c b/plugins/sudoers/visudo.c index ae2028aec..31bb50941 100644 --- a/plugins/sudoers/visudo.c +++ b/plugins/sudoers/visudo.c @@ -77,7 +77,7 @@ # include #endif #ifndef HAVE_TIMESPEC -# include +# include #endif #include "sudo.h" diff --git a/src/fileops.c b/src/fileops.c index 5e9d31dd6..1d119ced7 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -44,7 +44,7 @@ # include #endif #ifndef HAVE_TIMESPEC -# include +# include #endif #include "sudo.h" diff --git a/src/sudo_edit.c b/src/sudo_edit.c index 04d5d7434..079c449bd 100644 --- a/src/sudo_edit.c +++ b/src/sudo_edit.c @@ -50,7 +50,7 @@ # include #endif #ifndef HAVE_TIMESPEC -# include +# include #endif #include "sudo.h"