[package] busybox: fix build error in insmod applet on 2.4 (closes: #5220)
[openwrt/svn-archive/archive.git] / package / busybox / patches / 470-insmod_search.patch
index 8d4b019..5825dac 100644 (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;