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:
Todd C. Miller
2020-08-12 10:07:07 -06:00
parent 985af422d2
commit cbad17a994
14 changed files with 55 additions and 69 deletions

View File

@@ -35,6 +35,9 @@
# include "compat/stdbool.h"
#endif /* HAVE_STDBOOL_H */
#include <unistd.h>
#ifndef HAVE_GETADDRINFO
# include "compat/getaddrinfo.h"
#endif
#include "sudo_compat.h"
#include "sudo_fatal.h"
@@ -43,10 +46,6 @@
#include "sudo_util.h"
#include "sudo_plugin.h"
#ifndef HAVE_GETADDRINFO
# include "compat/getaddrinfo.h"
#endif
struct sudo_fatal_callback {
SLIST_ENTRY(sudo_fatal_callback) entries;
void (*func)(void);