]> granicus.if.org Git - sudo/commitdiff
Don't need all of sudoers.h in here
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Mar 2013 15:19:18 +0000 (11:19 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Mar 2013 15:19:18 +0000 (11:19 -0400)
plugins/sudoers/locale.c

index 197c09fd4e6efe1d5de56c923e4997c2e3e1fe3e..6b9bee6f906dadcae2309fbc91e2f63cfee0c3a6 100644 (file)
 #ifdef HAVE_STRINGS_H
 # include <strings.h>
 #endif /* HAVE_STRINGS_H */
+#ifdef HAVE_STDBOOL_H
+# include <stdbool.h>
+#else
+# include "compat/stdbool.h"
+#endif /* HAVE_STDBOOL_H */
 
-#include "sudoers.h"
+#include "missing.h"
+#include "error.h"
+#include "alloc.h"
+#include "logging.h"
+#include "gettext.h"
 
 static int current_locale = SUDOERS_LOCALE_USER;
 static char *user_locale;