Blame SOURCES/ksh-20120801-glibc-build-fix.patch

61d8f4
diff --git a/src/lib/libast/features/stdio b/src/lib/libast/features/stdio
61d8f4
--- a/src/lib/libast/features/stdio
61d8f4
+++ b/src/lib/libast/features/stdio
61d8f4
@@ -6,6 +6,8 @@ cat{
61d8f4
 	#define _FILE_DEFINED	1
61d8f4
 	#define _FILE_defined	1
61d8f4
 	#define _FILEDEFED	1
61d8f4
+	#define __FILE_defined  1
61d8f4
+	#define ____FILE_defined    1
61d8f4
 
61d8f4
 	#ifndef __FILE_TAG
61d8f4
 	#define __FILE_TAG	_sfio_s
61d8f4
diff --git a/src/lib/libast/include/ast.h b/src/lib/libast/include/ast.h
61d8f4
index ebf82d7..f4bbe6d 100644
61d8f4
--- a/src/lib/libast/include/ast.h
61d8f4
+++ b/src/lib/libast/include/ast.h
61d8f4
@@ -59,9 +59,21 @@ struct _sfio_s;
61d8f4
 #ifndef	__FILE_typedef
61d8f4
 #define __FILE_typedef	1
61d8f4
 #endif
61d8f4
+#ifndef	_FILE_DEFINED
61d8f4
+#define _FILE_DEFINED   1
61d8f4
+#endif
61d8f4
+#ifndef	_FILE_defined
61d8f4
+#define _FILE_defined   1
61d8f4
+#endif
61d8f4
 #ifndef _FILEDEFED
61d8f4
 #define _FILEDEFED	1
61d8f4
 #endif
61d8f4
+#ifndef __FILE_defined
61d8f4
+#define __FILE_defined  1
61d8f4
+#endif
61d8f4
+#ifndef ____FILE_defined
61d8f4
+#define ____FILE_defined  1
61d8f4
+#endif
61d8f4
 #endif
61d8f4
 
61d8f4
 /*