Re: [PATCH] tools lib lk: Uninclude linux/magic.h in debugfs.c.

2013-09-19 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 19, 2013 at 09:17:20AM +0200, Borislav Petkov escreveu: > On Wed, Sep 18, 2013 at 04:16:40PM -0700, Vinson Lee wrote: > > From: Vinson Lee > > > > The compilation only looks for linux/magic.h from the default include > > > > Signed-off-by: Vinson Lee > > Cc: sta...@vger.kernel.org #

Re: [PATCH] tools lib lk: Uninclude linux/magic.h in debugfs.c.

2013-09-19 Thread Borislav Petkov
On Wed, Sep 18, 2013 at 04:16:40PM -0700, Vinson Lee wrote: > From: Vinson Lee > > The compilation only looks for linux/magic.h from the default include > paths, which does not include the source tree. This results in a build > error if linux/magic.h is not available or not installed. Right, we

[PATCH] tools lib lk: Uninclude linux/magic.h in debugfs.c.

2013-09-18 Thread Vinson Lee
From: Vinson Lee The compilation only looks for linux/magic.h from the default include paths, which does not include the source tree. This results in a build error if linux/magic.h is not available or not installed. For example, this build error occurs on CentOS 5. $ make -C tools/lib/lk V=1 [.