Fossil SCM
Reorder include statements in 'main.c' to resolve an obscure compilation issue reported via the mailing list.
Commit
76303fb0c035fbe6ba57629c9591cd14e5b23120
Parent
bc30d829ab00e5f…
1 file changed
+1
-1
+1
-1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -30,14 +30,14 @@ | ||
| 30 | 30 | #if defined(_WIN32) |
| 31 | 31 | # include <windows.h> |
| 32 | 32 | #else |
| 33 | 33 | # include <errno.h> /* errno global */ |
| 34 | 34 | #endif |
| 35 | -#include "zlib.h" | |
| 36 | 35 | #ifdef FOSSIL_ENABLE_SSL |
| 37 | 36 | # include "openssl/crypto.h" |
| 38 | 37 | #endif |
| 38 | +#include "zlib.h" | |
| 39 | 39 | #if INTERFACE |
| 40 | 40 | #ifdef FOSSIL_ENABLE_TCL |
| 41 | 41 | # include "tcl.h" |
| 42 | 42 | #endif |
| 43 | 43 | #ifdef FOSSIL_ENABLE_JSON |
| 44 | 44 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -30,14 +30,14 @@ | |
| 30 | #if defined(_WIN32) |
| 31 | # include <windows.h> |
| 32 | #else |
| 33 | # include <errno.h> /* errno global */ |
| 34 | #endif |
| 35 | #include "zlib.h" |
| 36 | #ifdef FOSSIL_ENABLE_SSL |
| 37 | # include "openssl/crypto.h" |
| 38 | #endif |
| 39 | #if INTERFACE |
| 40 | #ifdef FOSSIL_ENABLE_TCL |
| 41 | # include "tcl.h" |
| 42 | #endif |
| 43 | #ifdef FOSSIL_ENABLE_JSON |
| 44 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -30,14 +30,14 @@ | |
| 30 | #if defined(_WIN32) |
| 31 | # include <windows.h> |
| 32 | #else |
| 33 | # include <errno.h> /* errno global */ |
| 34 | #endif |
| 35 | #ifdef FOSSIL_ENABLE_SSL |
| 36 | # include "openssl/crypto.h" |
| 37 | #endif |
| 38 | #include "zlib.h" |
| 39 | #if INTERFACE |
| 40 | #ifdef FOSSIL_ENABLE_TCL |
| 41 | # include "tcl.h" |
| 42 | #endif |
| 43 | #ifdef FOSSIL_ENABLE_JSON |
| 44 |