From 289acf3333cf76ffc689aff8a17340b299ce0686 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Mon, 11 Mar 2013 18:51:11 +0100 Subject: Fix libmspack to compile with rbutil The build system used by rbutil is not very robust: all the files are eventually compiled to the same directory so we cannot have two files with the same name (system.c would conflicts with system.cpp) so rename one file to avoid this. Also change all include directives to local ones because we don't have to expose the entire mspack source to inclusion. Change-Id: I3fe0638d69fdc30566eb9425abfe33c807678b28 Reviewed-on: http://gerrit.rockbox.org/417 Reviewed-by: Dominik Riebeling --- rbutil/rbutilqt/mspack/chmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rbutil/rbutilqt/mspack/chmc.c') diff --git a/rbutil/rbutilqt/mspack/chmc.c b/rbutil/rbutilqt/mspack/chmc.c index 72f6c5b389..b9a1d8856c 100644 --- a/rbutil/rbutilqt/mspack/chmc.c +++ b/rbutil/rbutilqt/mspack/chmc.c @@ -9,8 +9,8 @@ /* CHM compression implementation */ -#include -#include +#include "system-mspack.h" +#include "chm.h" struct mschm_compressor * mspack_create_chm_compressor(struct mspack_system *sys) -- cgit v1.2.3