Move inclusion of compat headers up with the system headers.
Now that sudo_dso_public is defined in config.h we don't need sudo_compat.h before including the compat headers.
This commit is contained in:
@@ -41,16 +41,15 @@
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "sudoers.h"
|
||||
#include <gram.h>
|
||||
|
||||
#ifdef HAVE_FNMATCH
|
||||
# include <fnmatch.h>
|
||||
#else
|
||||
# include "compat/fnmatch.h"
|
||||
#endif /* HAVE_FNMATCH */
|
||||
|
||||
#include "sudoers.h"
|
||||
#include <gram.h>
|
||||
|
||||
#if !defined(O_EXEC) && defined(O_PATH)
|
||||
# define O_EXEC O_PATH
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user