- Spaghetti alert. Fix clash with ancient fwd-decl. This is an unfortunate
combination of linux not providing a useable linux/module.h to userspace and mixing legacy-cruft with the current stuff in one insmod.c.
This commit is contained in:
parent
55fb9da5b8
commit
1510216a55
@ -4183,7 +4183,8 @@ int insmod_main(int argc, char **argv)
|
|||||||
|
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
||||||
#ifdef __UCLIBC__
|
#if defined __UCLIBC__ && !ENABLE_FEATURE_2_4_MODULES
|
||||||
|
/* big time suckage. The old prototype above renders our nice fwd-decl wrong */
|
||||||
extern int init_module(void *module, unsigned long len, const char *options);
|
extern int init_module(void *module, unsigned long len, const char *options);
|
||||||
#else
|
#else
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user