From 48931408f4c867e084ca5ebdc21d9ff4a4073c13 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Thu, 19 Sep 2013 20:13:44 +0200 Subject: [PATCH] Make FILE a macro that expands to FILE. This solves a compatibility problem with libgmp that erroneously attempts to detect whether has been included, but doesn't know what the include guards for Sortix libc are. --- libc/decl/FILE.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/decl/FILE.h b/libc/decl/FILE.h index 15d1a05e..8e6e8a0d 100644 --- a/libc/decl/FILE.h +++ b/libc/decl/FILE.h @@ -1,4 +1,5 @@ #ifndef _FILE_DECL #define _FILE_DECL typedef struct FILE FILE; +#define FILE FILE #endif