aboutsummaryrefslogtreecommitdiff
path: root/src/writeenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writeenv.c')
-rw-r--r--src/writeenv.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/writeenv.c b/src/writeenv.c
index e3edbec75..b509449e2 100644
--- a/src/writeenv.c
+++ b/src/writeenv.c
@@ -19,24 +19,22 @@
* KIND, either express or implied.
*
***************************************************************************/
-
#include "setup.h"
#ifdef USE_ENVIRONMENT
-#include <curl/curl.h>
-#include "writeenv.h"
-
#ifdef __riscos__
#include <kernel.h>
#endif
+#include <curl/curl.h>
+
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
-#if defined(CURLDEBUG) && defined(CURLTOOLDEBUG)
-#include "memdebug.h"
-#endif
+#include "writeenv.h"
+
+#include "memdebug.h" /* keep this as LAST include */
static const struct
{