diff options
author | 2002-05-03 19:54:27 +0000 | |
---|---|---|
committer | 2002-05-03 19:54:27 +0000 | |
commit | 21c437faddd252c3032c7ad996e86404ae58ad7c (patch) | |
tree | fbe04a5c533711ef8823091b9b22fc8013893f16 /sys-apps/apmd | |
parent | Close bug #1472; thanks meekrob! :) (diff) | |
download | historical-21c437faddd252c3032c7ad996e86404ae58ad7c.tar.gz historical-21c437faddd252c3032c7ad996e86404ae58ad7c.tar.bz2 historical-21c437faddd252c3032c7ad996e86404ae58ad7c.zip |
digesto
Diffstat (limited to 'sys-apps/apmd')
-rw-r--r-- | sys-apps/apmd/files/apmsleep.c.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/apmd/files/apmsleep.c.diff b/sys-apps/apmd/files/apmsleep.c.diff new file mode 100644 index 000000000000..a5eff9adc76e --- /dev/null +++ b/sys-apps/apmd/files/apmsleep.c.diff @@ -0,0 +1,13 @@ +--- apmsleep.c.orig Fri May 3 13:50:37 2002 ++++ apmsleep.c Fri May 3 13:53:56 2002 +@@ -45,7 +45,9 @@ + #include <stdio.h> + #include <linux/version.h> + +-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,2,0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) ++#include <linux/spinlock.h> ++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0) + #include <asm/spinlock.h> + #endif + |