aboutsummaryrefslogtreecommitdiff
path: root/src/curlutil.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-09-14 11:27:12 +0200
committerYang Tse <yangsita@gmail.com>2011-09-14 11:30:22 +0200
commit90080da5fefe943aec5aa0b9c08510dc1dd48be3 (patch)
tree56b7d4e90e481dbe7aff0bd5f72cb1f8b8e13925 /src/curlutil.c
parent0216e517d07f6409534a222b69d550844aeeb4d8 (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/curlutil.c')
-rw-r--r--src/curlutil.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/curlutil.c b/src/curlutil.c
index bca2db7aa..a524b65b4 100644
--- a/src/curlutil.c
+++ b/src/curlutil.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -19,11 +19,12 @@
* KIND, either express or implied.
*
***************************************************************************/
-
#include "setup.h"
#include "curlutil.h"
+#include "memdebug.h" /* keep this as LAST include */
+
#if defined(WIN32) && !defined(MSDOS)
struct timeval cutil_tvnow(void)