]> 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>
Wed, 7 Sep 2011 21:37:25 +0000 (21:37 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 7 Sep 2011 21:37:25 +0000 (21:37 +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/branches/BRANCH_2_0_X@39630 a592a061-630c-0410-9148-cb99ea01b6c8

src/Thesaurus.cpp
status.20x

index 5600e53380120cb83861e54783348b075b576eeb..fcec80bef55aa81afbfdc7c1bd3ef874a3a3266f 100644 (file)
@@ -26,6 +26,7 @@
 #ifdef USE_EXTERNAL_MYTHES
 #include MYTHES_H_LOCATION
 #else
+#include <cstdio>
 #include "support/mythes/mythes.hxx"
 #endif
 
index 0934c1f35bf3425841642d42cbb10cbca92fbc1b..b4d4aaa3f861ab9b5354dc260118d329c82efea5 100644 (file)
@@ -93,3 +93,5 @@ What's new
 
 
 * BUILD/INSTALLATION
+
+- Fix compile error with gcc 4.5.3 when using the included mythes library.