Merge git://git.skbuff.net/gitroot/yoshfuji/linux-2.6-git-rfc3542
[powerpc.git] / arch / um / os-Linux / elf_aux.c
index 9416e1c..1399520 100644 (file)
@@ -9,12 +9,12 @@
  */
 #include <elf.h>
 #include <stddef.h>
-#include <asm/elf.h>
 #include "init.h"
 #include "elf_user.h"
 #include "mem_user.h"
+#include <kernel-offsets.h>
 
-#if ELF_CLASS == ELFCLASS32
+#if HOST_ELF_CLASS == ELFCLASS32
 typedef Elf32_auxv_t elf_auxv_t;
 #else
 typedef Elf64_auxv_t elf_auxv_t;