view osdep/kerneltwosix.h @ 13316:0d17bef9894d

* Changed malloc and strncpy to strdup. Less code. * More error checking. If malloc or strdup fails, print message and exit. * Free malloc'd memory when uninit is called. * Moved default of jpeg_outdir to preinit, so it is always malloc'd and can easily be freed at uninit.
author ivo
date Sat, 11 Sep 2004 19:59:31 +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