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:
@@ -32,19 +32,19 @@
|
||||
#ifdef HAVE_STDBOOL_H
|
||||
# include <stdbool.h>
|
||||
#else
|
||||
# include "compat/stdbool.h"
|
||||
# include <compat/stdbool.h>
|
||||
#endif /* HAVE_STDBOOL_H */
|
||||
#include <unistd.h>
|
||||
#ifndef HAVE_GETADDRINFO
|
||||
# include "compat/getaddrinfo.h"
|
||||
# include <compat/getaddrinfo.h>
|
||||
#endif
|
||||
|
||||
#include "sudo_compat.h"
|
||||
#include "sudo_fatal.h"
|
||||
#include "sudo_gettext.h"
|
||||
#include "sudo_queue.h"
|
||||
#include "sudo_util.h"
|
||||
#include "sudo_plugin.h"
|
||||
#include <sudo_compat.h>
|
||||
#include <sudo_fatal.h>
|
||||
#include <sudo_gettext.h>
|
||||
#include <sudo_queue.h>
|
||||
#include <sudo_util.h>
|
||||
#include <sudo_plugin.h>
|
||||
|
||||
struct sudo_fatal_callback {
|
||||
SLIST_ENTRY(sudo_fatal_callback) entries;
|
||||
|
Reference in New Issue
Block a user