diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-05-27 13:21:48 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-05-27 13:21:48 +0000 |
commit | bff58cc99ef619d1147be70f8005eb0fa57d18e0 (patch) | |
tree | 52b35d4a6da99dc0cb69ce485defd5b2d30fa2ea /package/busybox | |
parent | 6e4e1d749f83c99228402747f7d98a1d7b311c8b (diff) | |
download | upstream-bff58cc99ef619d1147be70f8005eb0fa57d18e0.tar.gz upstream-bff58cc99ef619d1147be70f8005eb0fa57d18e0.tar.bz2 upstream-bff58cc99ef619d1147be70f8005eb0fa57d18e0.zip |
[package] busybox: fix build error in insmod applet on 2.4 (closes: #5220)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16107 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox')
-rw-r--r-- | package/busybox/patches/470-insmod_search.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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; |