]> granicus.if.org Git - sudo/commitdiff
Add back -I$(top_srcdir); we need it for including compat/foo.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jun 2010 16:35:19 +0000 (12:35 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jun 2010 16:35:19 +0000 (12:35 -0400)
since we cannot rely on "foo.h" being found relative to the
source file when the cwd is different.

plugins/sudoers/Makefile.in

index cd4b52846ef5c5a02dbe936482d995acb8ec4fac..5061b49437a1566233d63a233e36dd7fa6533ee8 100644 (file)
@@ -50,7 +50,7 @@ SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS) @ZL
 REPLAY_LIBS = @REPLAY_LIBS@ @ZLIB@
 
 # C preprocessor flags
-CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) @CPPFLAGS@
+CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@
 
 # Usually -O and/or -g
 CFLAGS = @CFLAGS@