Oops, this patch leads to a compilation error on mingw with a modern gcc:

../../gllib/strftime-fixes.c: In function 'rpl_strftime':
../../gllib/strftime-fixes.c:28:3: error: implicit declaration of function 
'tzsanitize' [-Wimplicit-function-declaration]
   28 |   tzsanitize ();
      |   ^~~~~~~~~~
make[4]: *** [Makefile:12126: strftime-fixes.o] Error 1

This patch should fix it.


2026-10-05  Bruno Haible  <[email protected]>

        strftime-fixes: Fix compilation error on mingw (regr. 2026-10-01).
        * lib/strftime-fixes.c: Really include tzsanitize.h.

diff --git a/lib/strftime-fixes.c b/lib/strftime-fixes.c
index e2dfc19ea0..550f5354d8 100644
--- a/lib/strftime-fixes.c
+++ b/lib/strftime-fixes.c
@@ -19,6 +19,8 @@
 /* Specification.  */
 #include <time.h>
 
+#include "tzsanitize.h"
+
 #undef strftime
 
 size_t




Reply via email to