Use #include <foo.h> instead of #include "foo.h" in most cases.

We rely on the include path to find many of these headers.  It
especially doesn't make sense to use #include "foo.h" for headers
in the top-level include directory.
This commit is contained in:
Todd C. Miller
2023-09-25 10:13:28 -06:00
parent 884b025962
commit e343e07543
373 changed files with 1253 additions and 1253 deletions

View File

@@ -24,7 +24,7 @@
#include "testhelpers.h"
#include <unistd.h>
#include "sudo_dso.h"
#include <sudo_dso.h>
#define DECL_PLUGIN(type, variable_name) \
static struct type *variable_name = NULL; \

View File

@@ -26,14 +26,14 @@
#ifdef HAVE_STDBOOL_H
# include <stdbool.h>
#else
# include "compat/stdbool.h"
# include <compat/stdbool.h>
#endif /* HAVE_STDBOOL_H */
#include <string.h>
#include <stdarg.h>
#include <signal.h>
#include <pwd.h>
#include "sudo_compat.h"
#include <sudo_compat.h>
#define MAX_OUTPUT (2 << 16)

View File

@@ -23,7 +23,7 @@
#include "../pyhelpers.h"
#include "sudo_conf.h"
#include <sudo_conf.h>
// just for the IDE
#ifndef SRC_DIR