fix change lost in the process of integrating mips dynamic linker
authorRich Felker <dalias@aerifal.cx>
Sun, 5 Aug 2012 17:46:39 +0000 (13:46 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 5 Aug 2012 17:46:39 +0000 (13:46 -0400)
src/ldso/dynlink.c

index 8f32f98..6801d5f 100644 (file)
@@ -22,8 +22,6 @@ static char errbuf[128];
 
 #ifdef SHARED
 
-#include "reloc.h"
-
 #if ULONG_MAX == 0xffffffff
 typedef Elf32_Ehdr Ehdr;
 typedef Elf32_Phdr Phdr;
@@ -68,6 +66,8 @@ struct dso {
        char buf[];
 };
 
+#include "reloc.h"
+
 void __init_ssp(size_t *);
 
 static struct dso *head, *tail, *libc;