Changeset 20993


Ignore:
Timestamp:
2010-04-18T19:17:06+02:00 (6 years ago)
Author:
hauke
Message:

siit: fix build

Starting with kernel 2.6.33 autoconf.h is in generated/ and not linux/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/siit/src/siit.c

    r18228 r20993  
    55 */ 
    66 
     7#include <linux/version.h> 
     8#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     9#include <generated/autoconf.h> 
     10#else 
    711#include <linux/autoconf.h> 
     12#endif 
    813#include <linux/module.h> 
    9 #include <linux/version.h> 
    1014#include <linux/sched.h> 
    1115#include <linux/kernel.h>       /* printk() */ 
Note: See TracChangeset for help on using the changeset viewer.