From 51670c76015b268c3ff28c5838dc838e17beac22 Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Tue, 1 Aug 2017 14:27:50 +0200 Subject: [PATCH] Fix build failures caused by update in glibc Resolves: rhbz#1477082 --- src/lib/libast/features/stdio | 2 ++ src/lib/libast/include/ast.h | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/src/lib/libast/features/stdio b/src/lib/libast/features/stdio index b3238939980c..0756383425bb 100644 --- a/src/lib/libast/features/stdio +++ b/src/lib/libast/features/stdio @@ -6,6 +6,8 @@ cat{ #define _FILE_DEFINED 1 #define _FILE_defined 1 #define _FILEDEFED 1 + #define __FILE_defined 1 + #define ____FILE_defined 1 #ifndef __FILE_TAG #define __FILE_TAG _sfio_s diff --git a/src/lib/libast/include/ast.h b/src/lib/libast/include/ast.h index d8cc9d314bfc..db7ee1987e23 100644 --- a/src/lib/libast/include/ast.h +++ b/src/lib/libast/include/ast.h @@ -58,9 +58,21 @@ struct _sfio_s; #ifndef __FILE_typedef #define __FILE_typedef 1 #endif +#ifndef _FILE_DEFINED +#define _FILE_DEFINED 1 +#endif +#ifndef _FILE_defined +#define _FILE_defined 1 +#endif #ifndef _FILEDEFED #define _FILEDEFED 1 #endif +#ifndef __FILE_defined +#define __FILE_defined 1 +#endif +#ifndef ____FILE_defined +#define ____FILE_defined 1 +#endif #endif /*