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/random.c

    r21952 r26237  
    3636 */ 
    3737 
    38 #ifndef AUTOCONF_INCLUDED 
    39 #include <linux/config.h> 
     38#include <linux/version.h> 
     39#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     40#include <generated/autoconf.h> 
     41#else 
     42#include <linux/autoconf.h> 
    4043#endif 
    4144#include <linux/module.h> 
Note: See TracChangeset for help on using the changeset viewer.