Follow-up Comment #2, bug #21266 (project wesnoth):

Somewhere between 1.11.2 and current (a2e1c2c) git master, another instance of
this seems to have been introduced, the following diff fixes the build for
me:

diff --git a/src/format_time_summary.hpp b/src/format_time_summary.hpp
index 68fa5b2..542ac7a 100644
--- a/src/format_time_summary.hpp
+++ b/src/format_time_summary.hpp
@@ -18,6 +18,7 @@
 #include "global.hpp"
 
 #include <string>
+#include <time.h>
 
 namespace util {
        std::string format_time_summary(time_t t);


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21266>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to