LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File sysklogd-1.4.1-ksym.patch of Package syslogd.363 (Project openSUSE:12.1:Update)

---
 ksym_mod.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- ksym_mod.c
+++ ksym_mod.c	2007-08-09 00:00:00.000000000 +0200
@@ -91,7 +91,6 @@
 #include <sys/stat.h>
 #include <stdarg.h>
 #include <paths.h>
-#include <asm/atomic.h>
 #include <limits.h>
 /* #include <linux/version.h> */
 
@@ -129,6 +128,8 @@ err:
 
 #define getsyms get_kernel_syms
 
+typedef struct { volatile int counter; } atomic_t;
+
 struct module
 {
         size_t size_of_struct;   /* == sizeof(module) */