summaryrefslogtreecommitdiff
path: root/lib/curl_memrchr.c
diff options
context:
space:
mode:
authorSteve Holme <steven.holme@cubic.com>2016-04-01 13:21:12 +0100
committerSteve Holme <steven.holme@cubic.com>2016-04-01 13:21:12 +0100
commit0c331b899985cd9e805b60d2b68001dfdda11559 (patch)
tree362f9a1abec8814d94d7982aa89bd4e91eaf3ace /lib/curl_memrchr.c
parent3e005a8555e8a82784b22dea50fbc7d0bb0ccd26 (diff)
downloadgnurl-0c331b899985cd9e805b60d2b68001dfdda11559.tar.gz
gnurl-0c331b899985cd9e805b60d2b68001dfdda11559.tar.bz2
gnurl-0c331b899985cd9e805b60d2b68001dfdda11559.zip
memdebug: Ensure curl/curl.h is included before curl_memory.h
Follow up to commit 7db9782dd6.
Diffstat (limited to 'lib/curl_memrchr.c')
-rw-r--r--lib/curl_memrchr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/curl_memrchr.c b/lib/curl_memrchr.c
index 1be27e5c8..c521497b2 100644
--- a/lib/curl_memrchr.c
+++ b/lib/curl_memrchr.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, 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
@@ -21,6 +21,9 @@
***************************************************************************/
#include "curl_setup.h"
+
+#include <curl/curl.h>
+
#include "curl_memrchr.h"
#include "curl_memory.h"