Author: cazfi Date: Thu Feb 4 10:58:10 2016 New Revision: 31744 URL: http://svn.gna.org/viewcvs/freeciv?rev=31744&view=rev Log: Include windows.h to ruledit.cpp for LoadLibrary() declaration.
See bug #24376 Modified: trunk/tools/ruledit/ruledit.cpp Modified: trunk/tools/ruledit/ruledit.cpp URL: http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/ruledit.cpp?rev=31744&r1=31743&r2=31744&view=diff ============================================================================== --- trunk/tools/ruledit/ruledit.cpp (original) +++ trunk/tools/ruledit/ruledit.cpp Thu Feb 4 10:58:10 2016 @@ -15,8 +15,14 @@ #include <fc_config.h> #endif +#include "fc_prehdrs.h" + /* ANSI */ #include <stdlib.h> + +#ifdef WIN32_NATIVE +#include <windows.h> +#endif /* utility */ #include "fciconv.h" _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits