diff options
author | Yang Tse <yangsita@gmail.com> | 2011-09-14 11:27:12 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-09-14 11:30:22 +0200 |
commit | 90080da5fefe943aec5aa0b9c08510dc1dd48be3 (patch) | |
tree | 56b7d4e90e481dbe7aff0bd5f72cb1f8b8e13925 /src/writeenv.c | |
parent | 0216e517d07f6409534a222b69d550844aeeb4d8 (diff) |
curl tool: re-enable MemoryTracking capability on 'src' subdirectory files.
Use same preprocessor logic for curl tool MemoryTracking activation in source
files located in 'src' subdirectory as the one used for libcurl sources.
Diffstat (limited to 'src/writeenv.c')
-rw-r--r-- | src/writeenv.c | 12 |
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 { |