aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/470-insmod_search.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-27 13:21:48 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-27 13:21:48 +0000
commitadc83174bfb0af29ab4f4e60613395eb974d37b7 (patch)
treeeb6111b9a3e65dbe109047318ee42deff6d13abf /package/busybox/patches/470-insmod_search.patch
parent517728c9f7e3cbce7febb3ab76ad80f5107238b3 (diff)
downloadupstream-adc83174bfb0af29ab4f4e60613395eb974d37b7.tar.gz
upstream-adc83174bfb0af29ab4f4e60613395eb974d37b7.tar.bz2
upstream-adc83174bfb0af29ab4f4e60613395eb974d37b7.zip
busybox: fix build error in insmod applet on 2.4 (closes: #5220)
SVN-Revision: 16107
Diffstat (limited to 'package/busybox/patches/470-insmod_search.patch')
-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;