view osdep/kerneltwosix.h @ 15378:9ba8e4851216

Allow more gcc 3.x and 4.x versions.
author diego
date Mon, 09 May 2005 11:53:33 +0000
parents e0b096f0e640
children
line wrap: on
line source

#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
#define __KERNEL__
#include <linux/thread_info.h>
#include <linux/list.h>
#undef __KERNEL__
#endif