Browse Source

Fix libgmp compilation

jD91mZM2 4 years ago
parent
commit
e17c6049c6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/bits/stdio.h

+ 4 - 0
include/bits/stdio.h

@@ -6,6 +6,10 @@
 
 typedef struct FILE FILE;
 
+// A typedef doesn't suffice, because libgmp uses this definition to check if
+// STDIO was loaded.
+#define FILE FILE
+
 #ifdef __cplusplus
 extern "C" {
 #endif