diff options
author | Soren Sandmann <sandmann@daimi.au.dk> | 2006-11-02 06:14:18 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2006-11-02 06:14:18 +0000 |
commit | 4b2225ecb940d30fddcbf5ec0b12f2d1b57b0856 (patch) | |
tree | ca6d9ac182848948076d7a73152bc89f4c201044 | |
parent | cc674929eca58dd6492a244e8873f8458bf37334 (diff) |
-=-=-=- Release sysprof 1.0.6 -=-=-=-
2006-11-02 Soren Sandmann <sandmann@daimi.au.dk>
* -=-=-=- Release sysprof 1.0.6 -=-=-=-
* module/sysprof-module.c: Include config.h on kernels < 2.6.18.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | module/sysprof-module.c | 7 |
3 files changed, 13 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2006-11-02 Soren Sandmann <sandmann@daimi.au.dk> + + * -=-=-=- Release sysprof 1.0.6 -=-=-=- + + * module/sysprof-module.c: Include config.h on kernels < 2.6.18. + 2006-10-29 Soren Sandmann <sandmann@daimi.au.dk> * -=-=-=- Release sysprof 1.0.5 -=-=-=- diff --git a/configure.ac b/configure.ac index 261e130..a57059c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ(2.54) -AC_INIT([sysprof], [1.0.5]) +AC_INIT([sysprof], [1.0.6]) AC_CONFIG_SRCDIR(sysprof.glade) AM_INIT_AUTOMAKE(no-define) diff --git a/module/sysprof-module.c b/module/sysprof-module.c index 964f1ac..9f7ac7f 100644 --- a/module/sysprof-module.c +++ b/module/sysprof-module.c @@ -42,7 +42,12 @@ #include "../config.h" #include <linux/version.h> -#if KERNEL_VERSION(2,6,11) > LINUX_VERSION_CODE + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) +#include <linux/config.h> +#endif + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) # error Sysprof needs a Linux 2.6.11 kernel or later #endif #include <linux/kallsyms.h> |