view osdep/kerneltwosix.h @ 11765:e0b096f0e640

linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr> no idea whether this really works :)
author attila
date Sat, 10 Jan 2004 09:48:15 +0000
parents
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