From adc83174bfb0af29ab4f4e60613395eb974d37b7 Mon Sep 17 00:00:00 2001 From: Nicolas Thill <nico@openwrt.org> Date: Wed, 27 May 2009 13:21:48 +0000 Subject: [PATCH] busybox: fix build error in insmod applet on 2.4 (closes: #5220) SVN-Revision: 16107 --- package/busybox/patches/470-insmod_search.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/busybox/patches/470-insmod_search.patch b/package/busybox/patches/470-insmod_search.patch index 8d4b019c6b..5825dac9f2 100644 --- a/package/busybox/patches/470-insmod_search.patch +++ b/package/busybox/patches/470-insmod_search.patch @@ -4,11 +4,11 @@ #include "libbb.h" #include "modutils.h" ++#include <sys/utsname.h> +#ifndef CONFIG_FEATURE_2_4_MODULES +#include <sys/mman.h> +#include <asm/unistd.h> +#include <sys/syscall.h> -+#include <sys/utsname.h> +#endif + +static char *g_filename = NULL; -- GitLab