mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 01:11:52 +02:00
[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
This commit is contained in:
parent
8316176c4f
commit
65ad43e4c0
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "modutils.h"
|
#include "modutils.h"
|
||||||
|
+#include <sys/utsname.h>
|
||||||
+#ifndef CONFIG_FEATURE_2_4_MODULES
|
+#ifndef CONFIG_FEATURE_2_4_MODULES
|
||||||
+#include <sys/mman.h>
|
+#include <sys/mman.h>
|
||||||
+#include <asm/unistd.h>
|
+#include <asm/unistd.h>
|
||||||
+#include <sys/syscall.h>
|
+#include <sys/syscall.h>
|
||||||
+#include <sys/utsname.h>
|
|
||||||
+#endif
|
+#endif
|
||||||
+
|
+
|
||||||
+static char *g_filename = NULL;
|
+static char *g_filename = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user