There's a problem with including kernel-space header files on the

little endian MIPS architecture.  According to Ryan Murray this should
help and also work on all architectures.
This commit is contained in:
Joey Schulze 2003-09-27 22:05:39 +00:00
parent 293bb81f22
commit 5c817e1d38

View File

@ -91,8 +91,10 @@
#include <sys/stat.h> #include <sys/stat.h>
#if !defined(__GLIBC__) #if !defined(__GLIBC__)
#include <linux/time.h> #include <linux/time.h>
#include <linux/linkage.h>
#include <linux/module.h> #include <linux/module.h>
#else /* __GLIBC__ */ #else /* __GLIBC__ */
#include <linux/linkage.h>
#include <linux/module.h> #include <linux/module.h>
extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
extern int get_kernel_syms __P ((struct kernel_sym *__table)); extern int get_kernel_syms __P ((struct kernel_sym *__table));