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:
@@ -50,7 +50,7 @@
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
#ifndef HAVE_GETADDRINFO
|
||||
# include "compat/getaddrinfo.h"
|
||||
# include <compat/getaddrinfo.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_OPENSSL)
|
||||
@@ -64,13 +64,13 @@
|
||||
|
||||
#define NEED_INET_NTOP /* to expose sudo_inet_ntop in sudo_compat.h */
|
||||
|
||||
#include "sudoers.h"
|
||||
#include "sudo_event.h"
|
||||
#include "sudo_eventlog.h"
|
||||
#include "sudo_iolog.h"
|
||||
#include "hostcheck.h"
|
||||
#include "log_client.h"
|
||||
#include "strlist.h"
|
||||
#include <sudoers.h>
|
||||
#include <sudo_event.h>
|
||||
#include <sudo_eventlog.h>
|
||||
#include <sudo_iolog.h>
|
||||
#include <hostcheck.h>
|
||||
#include <log_client.h>
|
||||
#include <strlist.h>
|
||||
|
||||
/* Shared between iolog.c and audit.c */
|
||||
struct client_closure *client_closure;
|
||||
|
Reference in New Issue
Block a user