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:
@@ -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; \
|
||||
|
@@ -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)
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "../pyhelpers.h"
|
||||
|
||||
#include "sudo_conf.h"
|
||||
#include <sudo_conf.h>
|
||||
|
||||
// just for the IDE
|
||||
#ifndef SRC_DIR
|
||||
|
Reference in New Issue
Block a user