From: Michihiro NAKAJIMA Date: Wed, 18 Jan 2012 08:01:31 +0000 (-0500) Subject: Fix build failure at libarchive_fe. X-Git-Tag: v3.0.4~2^2~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1a574df8b9f28c3f004bd6bd9af5756601e8584;p=thirdparty%2Flibarchive.git Fix build failure at libarchive_fe. SVN-Revision: 4169 --- diff --git a/Makefile.am b/Makefile.am index 56ee86346..b6f9e226c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -583,6 +583,7 @@ libarchive_fe_la_SOURCES= \ libarchive_fe/matching.c \ libarchive_fe/matching.h +libarchive_fe_la_CPPFLAGS= -I$(top_srcdir)/libarchive # # # bsdtar source, docs, etc. diff --git a/libarchive_fe/matching.c b/libarchive_fe/matching.c index be454b5b9..3af5e658f 100644 --- a/libarchive_fe/matching.c +++ b/libarchive_fe/matching.c @@ -30,6 +30,7 @@ __FBSDID("$FreeBSD: src/usr.bin/cpio/matching.c,v 1.2 2008/06/21 02:20:20 kientz #include #endif +#include "archive.h" #include "err.h" #include "line_reader.h" #include "matching.h"