Be sure to include sudo_queue.h where needed instead of relying on other headers.
This commit is contained in:
@@ -42,7 +42,6 @@
|
|||||||
|
|
||||||
#include "sudoers.h"
|
#include "sudoers.h"
|
||||||
#include "sudoers_version.h"
|
#include "sudoers_version.h"
|
||||||
#include "sudo_conf.h"
|
|
||||||
#include "sudo_lbuf.h"
|
#include "sudo_lbuf.h"
|
||||||
#include "redblack.h"
|
#include "redblack.h"
|
||||||
#include "cvtsudoers.h"
|
#include "cvtsudoers.h"
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <def_data.h>
|
#include <def_data.h>
|
||||||
|
#include "sudo_queue.h"
|
||||||
|
|
||||||
struct list_member {
|
struct list_member {
|
||||||
SLIST_ENTRY(list_member) entries;
|
SLIST_ENTRY(list_member) entries;
|
||||||
|
@@ -18,6 +18,8 @@
|
|||||||
#ifndef SUDOERS_PARSE_H
|
#ifndef SUDOERS_PARSE_H
|
||||||
#define SUDOERS_PARSE_H
|
#define SUDOERS_PARSE_H
|
||||||
|
|
||||||
|
#include "sudo_queue.h"
|
||||||
|
|
||||||
/* Characters that must be quoted in sudoers. */
|
/* Characters that must be quoted in sudoers. */
|
||||||
#define SUDOERS_QUOTED ":\\,=#\""
|
#define SUDOERS_QUOTED ":\\,=#\""
|
||||||
|
|
||||||
|
@@ -32,8 +32,8 @@
|
|||||||
#endif /* HAVE_STRINGS_H */
|
#endif /* HAVE_STRINGS_H */
|
||||||
|
|
||||||
#include "sudo_compat.h"
|
#include "sudo_compat.h"
|
||||||
#include "sudo_util.h"
|
|
||||||
#include "sudo_queue.h"
|
#include "sudo_queue.h"
|
||||||
|
#include "sudo_util.h"
|
||||||
#include "sudoers_debug.h"
|
#include "sudoers_debug.h"
|
||||||
#include "strlist.h"
|
#include "strlist.h"
|
||||||
|
|
||||||
|
@@ -36,6 +36,7 @@
|
|||||||
#include "sudo_fatal.h"
|
#include "sudo_fatal.h"
|
||||||
#include "sudo_conf.h"
|
#include "sudo_conf.h"
|
||||||
#include "sudo_debug.h"
|
#include "sudo_debug.h"
|
||||||
|
#include "sudo_queue.h"
|
||||||
#include "sudo_util.h"
|
#include "sudo_util.h"
|
||||||
|
|
||||||
#ifdef HAVE_PRIV_SET
|
#ifdef HAVE_PRIV_SET
|
||||||
|
Reference in New Issue
Block a user