Replace emul/include.h with compat/include.h to match new source
tree layout.
This commit is contained in:
@@ -49,8 +49,8 @@
|
|||||||
#endif /* HAVE_STRING_H */
|
#endif /* HAVE_STRING_H */
|
||||||
|
|
||||||
#include <compat.h>
|
#include <compat.h>
|
||||||
#include "emul/fnmatch.h"
|
#include "compat/fnmatch.h"
|
||||||
#include "emul/charclass.h"
|
#include "compat/charclass.h"
|
||||||
|
|
||||||
#undef EOS
|
#undef EOS
|
||||||
#define EOS '\0'
|
#define EOS '\0'
|
||||||
|
@@ -97,8 +97,8 @@
|
|||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|
||||||
#include <compat.h>
|
#include <compat.h>
|
||||||
#include "emul/glob.h"
|
#include "compat/glob.h"
|
||||||
#include "emul/charclass.h"
|
#include "compat/charclass.h"
|
||||||
|
|
||||||
#define DOLLAR '$'
|
#define DOLLAR '$'
|
||||||
#define DOT '.'
|
#define DOT '.'
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
# include <time.h>
|
# include <time.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_TIMESPEC
|
#ifndef HAVE_TIMESPEC
|
||||||
# include <emul/timespec.h>
|
# include <compat/timespec.h>
|
||||||
#endif
|
#endif
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
#ifdef HAVE_UTIME_H
|
#ifdef HAVE_UTIME_H
|
||||||
# include <utime.h>
|
# include <utime.h>
|
||||||
#else
|
#else
|
||||||
# include <emul/utime.h>
|
# include <compat/utime.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <compat.h>
|
#include <compat.h>
|
||||||
|
@@ -53,7 +53,7 @@
|
|||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#ifndef HAVE_TIMESPEC
|
#ifndef HAVE_TIMESPEC
|
||||||
# include <emul/timespec.h>
|
# include <compat/timespec.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sudo.h"
|
#include "sudo.h"
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
# include <time.h>
|
# include <time.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_TIMESPEC
|
#ifndef HAVE_TIMESPEC
|
||||||
# include <emul/timespec.h>
|
# include <compat/timespec.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <compat.h>
|
#include <compat.h>
|
||||||
|
@@ -84,10 +84,10 @@
|
|||||||
#include <gram.h>
|
#include <gram.h>
|
||||||
|
|
||||||
#ifndef HAVE_FNMATCH
|
#ifndef HAVE_FNMATCH
|
||||||
# include "emul/fnmatch.h"
|
# include "compat/fnmatch.h"
|
||||||
#endif /* HAVE_FNMATCH */
|
#endif /* HAVE_FNMATCH */
|
||||||
#ifndef HAVE_EXTENDED_GLOB
|
#ifndef HAVE_EXTENDED_GLOB
|
||||||
# include "emul/glob.h"
|
# include "compat/glob.h"
|
||||||
#endif /* HAVE_EXTENDED_GLOB */
|
#endif /* HAVE_EXTENDED_GLOB */
|
||||||
#ifdef USING_NONUNIX_GROUPS
|
#ifdef USING_NONUNIX_GROUPS
|
||||||
# include "nonunix.h"
|
# include "nonunix.h"
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
# include <time.h>
|
# include <time.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_TIMESPEC
|
#ifndef HAVE_TIMESPEC
|
||||||
# include <emul/timespec.h>
|
# include <compat/timespec.h>
|
||||||
#endif
|
#endif
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@@ -67,7 +67,7 @@
|
|||||||
#include <gram.h>
|
#include <gram.h>
|
||||||
|
|
||||||
#ifndef HAVE_FNMATCH
|
#ifndef HAVE_FNMATCH
|
||||||
# include "emul/fnmatch.h"
|
# include "compat/fnmatch.h"
|
||||||
#endif /* HAVE_FNMATCH */
|
#endif /* HAVE_FNMATCH */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -77,7 +77,7 @@
|
|||||||
# include <varargs.h>
|
# include <varargs.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_TIMESPEC
|
#ifndef HAVE_TIMESPEC
|
||||||
# include <emul/timespec.h>
|
# include <compat/timespec.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sudo.h"
|
#include "sudo.h"
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
# include <time.h>
|
# include <time.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_TIMESPEC
|
#ifndef HAVE_TIMESPEC
|
||||||
# include <emul/timespec.h>
|
# include <compat/timespec.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sudo.h"
|
#include "sudo.h"
|
||||||
|
@@ -50,7 +50,7 @@
|
|||||||
# include <time.h>
|
# include <time.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_TIMESPEC
|
#ifndef HAVE_TIMESPEC
|
||||||
# include <emul/timespec.h>
|
# include <compat/timespec.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sudo.h"
|
#include "sudo.h"
|
||||||
|
Reference in New Issue
Block a user