[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#309911: linux-kernel-headers: missing BITS_PER_LONG makes it impossible to include things like linux/ext2_fs.h



On Fri, May 20, 2005 at 02:18:57PM +0200, Bernhard R. Link wrote:
> Package: linux-kernel-headers
> Version: 2.5.999-test7-bk-17
> Severity: normal
> 
> Script wurde gestartet: Fr 20 Mai 2005 13:28:29 CEST
> brl@mfs:/tmp/rt$ cat test.c
> #include <linux/ext2_fs.h>
> brl@mfs:/tmp/rt$ gcc test.c
> In file included from /usr/include/linux/cpumask.h:8,
>                  from /usr/include/asm/smp.h:11,
>                  from /usr/include/linux/smp.h:17,
>                  from /usr/include/linux/percpu_counter.h:9,
>                  from /usr/include/linux/ext2_fs_sb.h:20,
>                  from /usr/include/linux/ext2_fs.h:20,
>                  from test.c:1:

Don't do that then.

e2fsprogs supplies a version of this header which is suitable for
userspace.  Use that instead.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



Reply to: