source: packages/libs/zaptel-1.4.x/patches/350-2.6.34.patch @ 21774

Last change on this file since 21774 was 21774, checked in by claudio, 7 years ago

[packages] zaptel: update and fix kernel module build for 2.6.34

File size: 952 bytes
  • kernel/zconfig.h

    old new  
    2222#include <linux/version.h> 
    2323#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) 
    2424#include <linux/config.h> 
     25#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33)) 
     26#include <generated/autoconf.h> 
    2527#else 
    2628#include <linux/autoconf.h> 
    2729#endif 
  • kernel/ztdummy.c

    old new  
    3838 */ 
    3939 
    4040#include <linux/version.h> 
     41#include <linux/slab.h> 
    4142 
    4243#ifndef VERSION_CODE 
    4344#  define VERSION_CODE(vers,rel,seq) ( ((vers)<<16) | ((rel)<<8) | (seq) ) 
Note: See TracBrowser for help on using the repository browser.