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:
@@ -50,6 +50,11 @@
|
||||
#endif /* HAVE_STDBOOL_H */
|
||||
#include <regex.h>
|
||||
#include <signal.h>
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
# include <getopt.h>
|
||||
# else
|
||||
# include "compat/getopt.h"
|
||||
#endif /* HAVE_GETOPT_LONG */
|
||||
|
||||
#include "pathnames.h"
|
||||
#include "sudo_compat.h"
|
||||
@@ -65,12 +70,6 @@
|
||||
|
||||
#include "logging.h"
|
||||
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
# include <getopt.h>
|
||||
# else
|
||||
# include "compat/getopt.h"
|
||||
#endif /* HAVE_GETOPT_LONG */
|
||||
|
||||
struct replay_closure {
|
||||
const char *iolog_dir;
|
||||
struct sudo_event_base *evbase;
|
||||
|
Reference in New Issue
Block a user