summaryrefslogtreecommitdiff
path: root/package/busybox
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-27 13:21:48 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-27 13:21:48 +0000
commit65ad43e4c0990897fa4d830b70c33e1434985953 (patch)
tree52b35d4a6da99dc0cb69ce485defd5b2d30fa2ea /package/busybox
parent8316176c4f7423a1e64b744307538c8c27ae4efb (diff)
[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.patch2
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;