Ignore:
Timestamp:
Oct 27, 2013, 9:13:08 PM (8 years ago)
Author:
katerina
Message:

Fix for ticket #347 (the --enable-khide option does not work on Linux 3.x)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/samhain_erase.c

    r1 r443  
    7171/* The configure options (#defines) for the Kernel
    7272 */
     73#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
     74
     75#if SH_KERNEL_NUMERIC >= KERNEL_VERSION(2,6,33)
     76#include <generated/autoconf.h>
     77#else
     78#if SH_KERNEL_NUMERIC >= KERNEL_VERSION(2,6,19)
     79#include <linux/autoconf.h>
     80#else
    7381#include <linux/config.h>
    74 
    7582#ifdef CONFIG_MODVERSIONS
    7683#include <linux/modversions.h>
     84#endif
     85#endif
    7786#endif
    7887
Note: See TracChangeset for help on using the changeset viewer.