aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_threads.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_threads.c
parent3e005a8555e8a82784b22dea50fbc7d0bb0ccd26 (diff)
memdebug: Ensure curl/curl.h is included before curl_memory.h
Follow up to commit 7db9782dd6.
Diffstat (limited to 'lib/curl_threads.c')
-rw-r--r--lib/curl_threads.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/curl_threads.c b/lib/curl_threads.c
index 59d881143..c98d8bbad 100644
--- a/lib/curl_threads.c
+++ b/lib/curl_threads.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
@@ -22,6 +22,8 @@
#include "curl_setup.h"
+#include <curl/curl.h>
+
#if defined(USE_THREADS_POSIX)
# ifdef HAVE_PTHREAD_H
# include <pthread.h>