We no longer need to include sudo_gettext.h before sudo_compat.h

This commit is contained in:
Todd C. Miller
2020-08-12 09:50:35 -06:00
parent 4b0783b0b4
commit 076d0376db
21 changed files with 95 additions and 96 deletions

View File

@@ -25,27 +25,25 @@
#define SUDO_SUDO_H
#include <limits.h>
#include <pathnames.h>
#ifdef HAVE_STDBOOL_H
# include <stdbool.h>
#else
# include "compat/stdbool.h"
#endif /* HAVE_STDBOOL_H */
#include "sudo_gettext.h" /* must be included before sudo_compat.h */
#include "sudo_compat.h"
#include "sudo_fatal.h"
#include "sudo_conf.h"
#include "sudo_debug.h"
#include "sudo_queue.h"
#include "sudo_event.h"
#include "sudo_util.h"
#ifdef HAVE_PRIV_SET
# include <priv.h>
#endif
#include "pathnames.h"
#include "sudo_compat.h"
#include "sudo_conf.h"
#include "sudo_debug.h"
#include "sudo_event.h"
#include "sudo_fatal.h"
#include "sudo_gettext.h"
#include "sudo_queue.h"
#include "sudo_util.h"
/* Enable asserts() to avoid static analyzer false positives. */
#if !(defined(SUDO_DEVEL) || defined(__clang_analyzer__) || defined(__COVERITY__))
# define NDEBUG