summaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 9242e08..3a8201f 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -4183,7 +4183,8 @@ int insmod_main(int argc, char **argv)
#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);
#else
#include <asm/unistd.h>