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

@@ -48,13 +48,12 @@
#include <errno.h>
#include <fcntl.h>
#include <syslog.h>
#include "sudoers.h"
#ifndef HAVE_GETADDRINFO
# include "compat/getaddrinfo.h"
#endif
#include "sudoers.h"
/* Special message for log_warning() so we know to use ngettext() */
#define INCORRECT_PASSWORD_ATTEMPT ((char *)0x01)