Add back -I$(top_srcdir); we need it for including compat/foo.h

since we cannot rely on "foo.h" being found relative to the
source file when the cwd is different.
This commit is contained in:
Todd C. Miller
2010-06-01 12:35:19 -04:00
parent 1eafb30a44
commit 1afba5165e

View 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@