Fossil SCM

Reorder include statements in 'main.c' to resolve an obscure compilation issue reported via the mailing list.

mistachkin 2014-06-23 04:26 trunk
Commit 76303fb0c035fbe6ba57629c9591cd14e5b23120
1 file changed +1 -1
+1 -1
--- src/main.c
+++ src/main.c
@@ -30,14 +30,14 @@
3030
#if defined(_WIN32)
3131
# include <windows.h>
3232
#else
3333
# include <errno.h> /* errno global */
3434
#endif
35
-#include "zlib.h"
3635
#ifdef FOSSIL_ENABLE_SSL
3736
# include "openssl/crypto.h"
3837
#endif
38
+#include "zlib.h"
3939
#if INTERFACE
4040
#ifdef FOSSIL_ENABLE_TCL
4141
# include "tcl.h"
4242
#endif
4343
#ifdef FOSSIL_ENABLE_JSON
4444
--- 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

Keyboard Shortcuts

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