aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-01-05 23:07:29 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-01-07 09:34:03 +0100
commitef384c68ae22b35cf4976227d1cfcbbc3af79c88 (patch)
treee8f032f5d1474ef8599df94abd4965f53120dc53
parentd5cfefd0ea8e331b884186bff484210fad36e345 (diff)
curl/urlapi.h: include "curl.h" first
This allows programs to include curl/urlapi.h directly. Reviewed-by: Daniel Gustafsson Reported-by: Ben Kohler Fixes #3438 Closes #3441
-rw-r--r--include/curl/urlapi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/curl/urlapi.h b/include/curl/urlapi.h
index 90dd56c00..850faa97a 100644
--- a/include/curl/urlapi.h
+++ b/include/curl/urlapi.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2018 - 2019, 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.h"
+
#ifdef __cplusplus
extern "C" {
#endif