summaryrefslogtreecommitdiff
path: root/packages/linux-libc-headers/linux-libc-headers-2.6.25/fix-kernel-conditionalize-a.out.h.patch
blob: 30dee5d520a37e17e103c0467a68428e957a1f8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/linux/a.out.h b/include/linux/a.out.h
index 208f4e8..d149699 100644
--- a/include/linux/a.out.h
+++ b/include/linux/a.out.h
@@ -1,6 +1,10 @@
 #ifndef __A_OUT_GNU_H__
 #define __A_OUT_GNU_H__
 
+#ifndef __KERNEL__
+#define CONFIG_ARCH_SUPPORTS_AOUT
+#endif
+
 #ifdef CONFIG_ARCH_SUPPORTS_AOUT
 
 #define __GNU_EXEC_MACROS__