summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-03-04 16:27:22 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-03-04 16:27:22 +0100
commit9da03501410d841f7c420156084919e3b1b97928 (patch)
tree7d9d0d736e834225f48bb753f8f6bcc02051935a
parent15401fa886b707ae2a42b95fa6cf313685306492 (diff)
downloadcurl-bagder/examples-includes.tar.gz
examples: only include <curl/curl.h>bagder/examples-includes
That's the only public curl header we should encourage use of.
-rw-r--r--docs/examples/10-at-a-time.c2
-rw-r--r--docs/examples/ephiperfifo.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/docs/examples/10-at-a-time.c b/docs/examples/10-at-a-time.c
index ee1c64a5d..b50eaa68e 100644
--- a/docs/examples/10-at-a-time.c
+++ b/docs/examples/10-at-a-time.c
@@ -30,7 +30,7 @@
#ifndef WIN32
# include <unistd.h>
#endif
-#include <curl/multi.h>
+#include <curl/curl.h>
static const char *urls[] = {
"https://www.microsoft.com",
diff --git a/docs/examples/ephiperfifo.c b/docs/examples/ephiperfifo.c
index 8af65367c..35991de77 100644
--- a/docs/examples/ephiperfifo.c
+++ b/docs/examples/ephiperfifo.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 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
@@ -72,7 +72,6 @@ callback.
#include <unistd.h>
#include <curl/curl.h>
-#include <curl/multi.h>
#ifdef __GNUC__
#define _Unused __attribute__((unused))