summaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-05-17 02:47:55 +0000
committerDenis Vlasenko2008-05-17 02:47:55 +0000
commit2794c9bb938346f446ddc383b2621f6e6be6fdc8 (patch)
treeb4c3acd46ee7bf9bfaa070a894fb9c8f81c7aed9 /modutils/insmod.c
parent85e015c7c895da7b1c37ed9bde9183c9e1bfacc8 (diff)
downloadbusybox-2794c9bb938346f446ddc383b2621f6e6be6fdc8.zip
busybox-2794c9bb938346f446ddc383b2621f6e6be6fdc8.tar.gz
insmod: build fix for microblaze (by Greg Steuck <greg AT nest.cx>)
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 9f21003..1ae8921 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -184,6 +184,7 @@ static int insmod_ng_main(int argc, char **argv);
/* Microblaze */
#if defined(__microblaze__)
#define USE_SINGLE
+#include <linux/elf-em.h>
#define MATCH_MACHINE(x) (x == EM_XILINX_MICROBLAZE)
#define SHT_RELM SHT_RELA
#define Elf32_RelM Elf32_Rela