Use angle quotes when including gram.h and def_data.c.

Otherwise, we can include the wrong file when doing an out-of-source
build when configured using --with-devel.
This commit is contained in:
Todd C. Miller
2020-08-12 10:28:33 -06:00
parent cbad17a994
commit fb8ed8ba66
4 changed files with 5 additions and 4 deletions

View File

@@ -60,11 +60,11 @@
#endif /* HAVE_LDAP_SASL_INTERACTIVE_BIND_S */
#include "sudoers.h"
#include "gram.h"
#include "sudo_lbuf.h"
#include "sudo_ldap.h"
#include "sudo_ldap_conf.h"
#include "sudo_dso.h"
#include <gram.h>
#ifndef LDAP_OPT_RESULT_CODE
# define LDAP_OPT_RESULT_CODE LDAP_OPT_ERROR_NUMBER

View File

@@ -36,10 +36,10 @@
#include "sudoers.h"
#include "interfaces.h"
#include "gram.h"
#include "sudo_lbuf.h"
#include "sudo_ldap.h"
#include "sudo_digest.h"
#include <gram.h>
/*
* Returns true if the string pointed to by valp begins with an

View File

@@ -28,10 +28,11 @@
#define SUDO_ERROR_WRAP 0
#include "sudoers.h"
#include "def_data.c" /* for iolog_path.c */
#include "sudo_plugin.h"
#include "sudo_iolog.h"
#include <def_data.c> /* for iolog_path.c */
extern struct io_plugin sudoers_io;
struct sudo_user sudo_user;

View File

@@ -40,10 +40,10 @@
#include <pwd.h>
#include "sudoers.h"
#include "gram.h"
#include "sudo_lbuf.h"
#include "sudo_ldap.h"
#include "sudo_dso.h"
#include <gram.h>
/* SSSD <--> SUDO interface - do not change */
struct sss_sudo_attr {