]> git.lyx.org Git - features.git/commitdiff
Fix compile error with gcc 4.5.3 when using the included mythes library:
authorEnrico Forestieri <forenr@lyx.org>
Sat, 3 Sep 2011 16:10:07 +0000 (16:10 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 3 Sep 2011 16:10:07 +0000 (16:10 +0000)
../../src/support/mythes/mythes.hxx:25:9: error: ‘FILE’ does not name a type
../../src/support/mythes/mythes.hxx:55:22: error: ‘FILE’ has not been declared

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39580 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/mythes/mythes.hxx

index 489481b3d7a14a467692a2f5cc9d6b56c607cefd..a58828cbb0d774742f88679ac37815dce7c148ca 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _MYTHES_HXX_
 #define _MYTHES_HXX_
 
+#include <cstdio>
+
 // some maximum sizes for buffers
 #define MAX_WD_LEN 200
 #define MAX_LN_LEN 16384