view osdep/kerneltwosix.h @ 13838:cedde9834a7a

small fix to find DocBook DTD in more exotic locations like /usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-22.1/docbookx.dtd
author rathann
date Mon, 01 Nov 2004 14:44:57 +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