Fossil SCM
Merge mingw-build-error
Commit
ee4c762d0d27fa9e6d8a39967576ce61c22d293bebc0c40ff17b8622a6153374
Parent
4d575dc84e07ad5…
1 file changed
+3
+3
| --- src/xsystem.c | ||
| +++ src/xsystem.c | ||
| @@ -31,10 +31,13 @@ | ||
| 31 | 31 | */ |
| 32 | 32 | #include "config.h" |
| 33 | 33 | #include "xsystem.h" |
| 34 | 34 | #include "qrf.h" |
| 35 | 35 | #include <time.h> |
| 36 | +#ifdef _WIN32 | |
| 37 | +# include <windows.h> | |
| 38 | +#endif | |
| 36 | 39 | |
| 37 | 40 | |
| 38 | 41 | /* Date and time */ |
| 39 | 42 | void xsystem_date(int argc, char **argv){ |
| 40 | 43 | (void)argc; |
| 41 | 44 |
| --- 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 |