view osdep/kerneltwosix.h @ 15058:f48dc20c9185

- fix gcc warnings, strlcat/strlcpy prototypes - fix bad sscanf usage in geometry.c
author rathann
date Wed, 06 Apr 2005 11:57:10 +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