lkml.org 
[lkml]   [2002]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcan't include headers
hi,
I need to write a device driver under linux. I am using slackware linux kernel 2.4.18.
I have problem to include headers, here is some of my code:

#define __KERNEL__
#include <linux/config.h> (ok)

#ifdef CONFIG_MODVERSIONS
#define MODVERSIONS
#include <linux/modversions.h> (ok)
#endif

#include <linux/module.h> (ok)
#include <linux/stddef.h> (ok)
#include <linux/kernel.h> (ok)
#include <linux/mm.h> <--- can't include this one

Any comments is greatly appreciated.
Thanks alot.

Ganda



__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.052 / U:5.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site