view osdep/kerneltwosix.h @ 13787:e047e70a9767

Handle "xxx.h" vs "../xxx.h" include paths in a consistent way. Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.
author diego
date Thu, 28 Oct 2004 01:15:53 +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