sysklogd.patch 631 B

1234567891011121314151617
  1. On MIPS architecture, sysklogd fails to compile because linux/module.h
  2. depends on asmlinkage, which is defined linux/linkage.h.
  3. The "proper" fix to this would probably be to apply the
  4. mips-fixed-fls-warning.patch to the linux sources, which patches
  5. asm-mips/system.h to always include linux/linkage.h.
  6. --- sysklogd-1.4.1/ksym_mod.c.orig 2000-09-12 14:15:28.000000000 -0700
  7. +++ sysklogd-1.4.1/ksym_mod.c 2005-08-15 14:11:42.000000000 -0700
  8. @@ -89,6 +89,7 @@
  9. #include <errno.h>
  10. #include <sys/fcntl.h>
  11. #include <sys/stat.h>
  12. +#include <linux/linkage.h>
  13. #if !defined(__GLIBC__)
  14. #include <linux/time.h>
  15. #include <linux/module.h>