1 --- sysklogd-1.4.1/module.h.orig 1970-01-01 10:00:00.000000000 +1000
2 +++ sysklogd-1.4.1/module.h 2005-11-24 01:40:09.000000000 +1000
4 +/* this file eliminates the need to include <kernel/module.h> */
5 +/* Module definitions for klogd's module support */
14 + unsigned long value;
20 + struct module *dep; /* "parent" pointer */
21 + struct module *ref; /* "child" pointer */
22 + struct module_ref *next_ref;
29 + unsigned long flags;
34 +typedef struct { volatile int counter; } atomic_t;
38 + unsigned long size_of_struct; /* == sizeof(module) */
39 + struct module *next;
47 + } uc; /* Needs to keep its size - so says rth */
49 + unsigned long flags; /* AUTOCLEAN et al */
54 + struct module_symbol *syms;
55 + struct module_ref *deps;
56 + struct module_ref *refs;
58 + void (*cleanup)(void);
59 + const struct exception_table_entry *ex_table_start;
60 + const struct exception_table_entry *ex_table_end;
67 --- sysklogd-1.4.1/ksym_mod.c.orig 2005-11-24 23:15:01.000000000 +1000
68 +++ sysklogd-1.4.1/ksym_mod.c 2005-11-24 23:11:54.000000000 +1000
71 #include <sys/fcntl.h>
73 +#include <linux/linkage.h>
74 +#include <linux/version.h>
75 #if !defined(__GLIBC__)
76 #include <linux/time.h>
77 #include <linux/module.h>
79 +#if LINUX_VERSION_CODE >= 0x20500
82 #include <linux/module.h>
84 extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
85 extern int get_kernel_syms __P ((struct kernel_sym *__table));
86 #endif /* __GLIBC__ */
89 -#include <linux/version.h>