insmod: build fix for microblaze (by Greg Steuck <greg AT nest.cx>)
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 17 May 2008 02:47:55 +0000 (02:47 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 17 May 2008 02:47:55 +0000 (02:47 -0000)
modutils/insmod.c

index 9f21003d8285efd32e8ef4ef15b8aea01bba791f..1ae89216d95c79f7cfcfde4c829f908780484cf9 100644 (file)
@@ -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