Fossil SCM

Fix build error with gcc and MinGW-w64 13.0.0

andygoth 2025-12-26 23:20 trunk
Commit 0e280751bd375e0d58ac4a52d8e307feb2daf7f3fedafc982d12452b93d82bb2
1 file changed +3
--- src/xsystem.c
+++ src/xsystem.c
@@ -31,10 +31,13 @@
3131
*/
3232
#include "config.h"
3333
#include "xsystem.h"
3434
#include "qrf.h"
3535
#include <time.h>
36
+#ifdef _WIN32
37
+# include <windows.h>
38
+#endif
3639
3740
3841
/* Date and time */
3942
void xsystem_date(int argc, char **argv){
4043
(void)argc;
4144
--- src/xsystem.c
+++ src/xsystem.c
@@ -31,10 +31,13 @@
31 */
32 #include "config.h"
33 #include "xsystem.h"
34 #include "qrf.h"
35 #include <time.h>
 
 
 
36
37
38 /* Date and time */
39 void xsystem_date(int argc, char **argv){
40 (void)argc;
41
--- src/xsystem.c
+++ src/xsystem.c
@@ -31,10 +31,13 @@
31 */
32 #include "config.h"
33 #include "xsystem.h"
34 #include "qrf.h"
35 #include <time.h>
36 #ifdef _WIN32
37 # include <windows.h>
38 #endif
39
40
41 /* Date and time */
42 void xsystem_date(int argc, char **argv){
43 (void)argc;
44

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button