aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/elfcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/elfcore.h')
-rw-r--r--include/linux/elfcore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h
index 0432de7d4707..5ca54d77079f 100644
--- a/include/linux/elfcore.h
+++ b/include/linux/elfcore.h
@@ -16,7 +16,9 @@ struct elf_siginfo
int si_errno; /* errno */
};
+#ifdef __KERNEL__
#include <asm/elf.h>
+#endif
#ifndef __KERNEL__
typedef elf_greg_t greg_t;