aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_memory.h')
-rw-r--r--lib/curl_memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_memory.h b/lib/curl_memory.h
index e3cdc721c..bc744ccd8 100644
--- a/lib/curl_memory.h
+++ b/lib/curl_memory.h
@@ -28,6 +28,9 @@
* File curl_memory.h must be included by _all_ *.c source files
* that use memory related functions strdup, malloc, calloc, realloc
* or free, and given source file is used to build libcurl library.
+ * It should be included immediately before memdebug.h as the last files
+ * included to avoid undesired interaction with other memory function
+ * headers in dependent libraries.
*
* There is nearly no exception to above rule. All libcurl source
* files in 'lib' subdirectory as well as those living deep inside