busybox: fix build error in insmod applet on 2.4 (closes: #5220)

SVN-Revision: 16107
lede-17.01
Nicolas Thill 2009-05-27 13:21:48 +00:00
parent 517728c9f7
commit adc83174bf
1 changed files with 1 additions and 1 deletions

View File

@ -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;