fix libiconv compilation

This commit is contained in:
auronandace
2026-04-24 12:06:43 +01:00
parent 4ec5b2c37b
commit e5451510fc
+3
View File
@@ -7,6 +7,9 @@ trailer = """
// XXX: this is only here because cbindgen can't handle string constants
#define P_tmpdir "/tmp"
// TODO: figure out why this duplicate is needed to compile libiconv
typedef struct FILE FILE;
// A typedef doesn't suffice, because libgmp uses this definition to check if
// STDIO was loaded.
#define FILE FILE