Ignore:
Timestamp:
2011-03-19T18:40:02+01:00 (5 years ago)
Author:
hauke
Message:

kernel: linux/version.h was removed in kernel 2.6.19 and is now replaced by generated/autoconf.h.

This fixes build with kernel 2.6.38.
This was only build tested.
Thank you philipp64 for reporting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/crypto/ocf/safe/safe.c

    r21952 r26237  
    3232 */ 
    3333 
    34 #ifndef AUTOCONF_INCLUDED 
    35 #include <linux/config.h> 
     34#include <linux/version.h> 
     35#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     36#include <generated/autoconf.h> 
     37#else 
     38#include <linux/autoconf.h> 
    3639#endif 
    3740#include <linux/module.h> 
Note: See TracChangeset for help on using the changeset viewer.