TonyB <[email protected]> writes: > On Nov 25, 4:19 pm, [email protected] (Pascal J. Bourguignon) > wrote: >> TonyB <[email protected]> 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. > > Is there a way to include them when rebulding the kernel?
Of course, they are included by the kernel sources, so when you're compiling it, they're included. > Thanks for the previous post. What are you trying to do? Are you modifying the kernel? Are you writing a kernel module? -- __Pascal Bourguignon__ _______________________________________________ help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
