From b2312e9901d1ed03e769b22bbdeda8055b692675 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 16 May 2005 22:05:07 +0000 Subject: make sure we add the local dir to the include path --- e2fsprogs/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2fsprogs/Makefile.in b/e2fsprogs/Makefile.in index d9856a214..7694765c9 100644 --- a/e2fsprogs/Makefile.in +++ b/e2fsprogs/Makefile.in @@ -23,6 +23,7 @@ E2FSPROGS_DIR:=$(top_builddir)/e2fsprogs/ endif srcdir=$(top_srcdir)/e2fsprogs +CFLAGS += -I$(E2FSPROGS_DIR) E2P_SRC:=fgetsetflags.c fgetsetversion.c pf.c iod.c E2P_SRCS:=$(patsubst %,e2p/%, $(E2P_SRC)) @@ -41,4 +42,3 @@ $(E2FSPROGS_DIR)$(E2FSPROGS_AR): $(patsubst %,$(E2FSPROGS_DIR)%, $(E2FSPROGS-y)) $(E2FSPROGS_DIR)%.o: $(srcdir)/%.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DHAVE_ERRNO_H=1 -DHAVE_UNISTD_H=1 \ -DHAVE_EXT2_IOCTLS=1 -DHAVE_EXT2_IOCTLS=1 -c -o $@ $< - -- cgit v1.2.3