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:
@@ -60,11 +60,11 @@
|
|||||||
#endif /* HAVE_LDAP_SASL_INTERACTIVE_BIND_S */
|
#endif /* HAVE_LDAP_SASL_INTERACTIVE_BIND_S */
|
||||||
|
|
||||||
#include "sudoers.h"
|
#include "sudoers.h"
|
||||||
#include "gram.h"
|
|
||||||
#include "sudo_lbuf.h"
|
#include "sudo_lbuf.h"
|
||||||
#include "sudo_ldap.h"
|
#include "sudo_ldap.h"
|
||||||
#include "sudo_ldap_conf.h"
|
#include "sudo_ldap_conf.h"
|
||||||
#include "sudo_dso.h"
|
#include "sudo_dso.h"
|
||||||
|
#include <gram.h>
|
||||||
|
|
||||||
#ifndef LDAP_OPT_RESULT_CODE
|
#ifndef LDAP_OPT_RESULT_CODE
|
||||||
# define LDAP_OPT_RESULT_CODE LDAP_OPT_ERROR_NUMBER
|
# define LDAP_OPT_RESULT_CODE LDAP_OPT_ERROR_NUMBER
|
||||||
|
@@ -36,10 +36,10 @@
|
|||||||
|
|
||||||
#include "sudoers.h"
|
#include "sudoers.h"
|
||||||
#include "interfaces.h"
|
#include "interfaces.h"
|
||||||
#include "gram.h"
|
|
||||||
#include "sudo_lbuf.h"
|
#include "sudo_lbuf.h"
|
||||||
#include "sudo_ldap.h"
|
#include "sudo_ldap.h"
|
||||||
#include "sudo_digest.h"
|
#include "sudo_digest.h"
|
||||||
|
#include <gram.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns true if the string pointed to by valp begins with an
|
* Returns true if the string pointed to by valp begins with an
|
||||||
|
@@ -28,10 +28,11 @@
|
|||||||
#define SUDO_ERROR_WRAP 0
|
#define SUDO_ERROR_WRAP 0
|
||||||
|
|
||||||
#include "sudoers.h"
|
#include "sudoers.h"
|
||||||
#include "def_data.c" /* for iolog_path.c */
|
|
||||||
#include "sudo_plugin.h"
|
#include "sudo_plugin.h"
|
||||||
#include "sudo_iolog.h"
|
#include "sudo_iolog.h"
|
||||||
|
|
||||||
|
#include <def_data.c> /* for iolog_path.c */
|
||||||
|
|
||||||
extern struct io_plugin sudoers_io;
|
extern struct io_plugin sudoers_io;
|
||||||
|
|
||||||
struct sudo_user sudo_user;
|
struct sudo_user sudo_user;
|
||||||
|
@@ -40,10 +40,10 @@
|
|||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|
||||||
#include "sudoers.h"
|
#include "sudoers.h"
|
||||||
#include "gram.h"
|
|
||||||
#include "sudo_lbuf.h"
|
#include "sudo_lbuf.h"
|
||||||
#include "sudo_ldap.h"
|
#include "sudo_ldap.h"
|
||||||
#include "sudo_dso.h"
|
#include "sudo_dso.h"
|
||||||
|
#include <gram.h>
|
||||||
|
|
||||||
/* SSSD <--> SUDO interface - do not change */
|
/* SSSD <--> SUDO interface - do not change */
|
||||||
struct sss_sudo_attr {
|
struct sss_sudo_attr {
|
||||||
|
Reference in New Issue
Block a user