[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to find slab.h and mm.h
From: |
Pascal J. Bourguignon |
Subject: |
Re: Unable to find slab.h and mm.h |
Date: |
Wed, 25 Nov 2009 22:19:55 +0100 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin) |
TonyB <tigerb@yahoo.com> writes:
> I'm need to include slab.h and mm.h in a c++ program. i.e.
>
> #include <linux/slab.h>
> #include <linux/mm.h>
>
> I'm unable to find the header files anywhere in the file system. I
> expected to find them in /usr/include/linux.
>
> slab.h and mm.h also have include statements for files that re not on
> the file system.
>
> Is the a package or library I can install to correct this?
>
> Thanks from NH
They are kernel specific headers. You might find them in
/usr/src/linux/include/linux/, but they'd be rather useless if you are
not programming a linux kernel module.
--
__Pascal Bourguignon__