[package] busybox: fix build error in insmod applet on 2.4 (closes: #5220)
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 May 2009 13:21:48 +0000 (13:21 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 May 2009 13:21:48 +0000 (13:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16107 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/busybox/patches/470-insmod_search.patch

index 8d4b019c6b3af8b8e57d098d0f9b3383c879967d..5825dac9f2a5aa01825469a41c1ea05d07c5b1f4 100644 (file)
@@ -4,11 +4,11 @@
  
  #include "libbb.h"
  #include "modutils.h"
  
  #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>
 +#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;
 +#endif
 +
 +static char *g_filename = NULL;