]> granicus.if.org Git - curl/commitdiff
examples: only include <curl/curl.h>
authorDaniel Stenberg <daniel@haxx.se>
Mon, 4 Mar 2019 15:27:22 +0000 (16:27 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Mar 2019 06:58:29 +0000 (07:58 +0100)
That's the only public curl header we should encourage use of.

Reviewed-by: Marcel Raad
Closes #3645

docs/examples/10-at-a-time.c
docs/examples/ephiperfifo.c

index ee1c64a5d5e3f7c469fa7e6c908d70305c592f84..b50eaa68edcbd63f53d48cff50c287e3bc855b22 100644 (file)
@@ -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",
index 8af65367cc68d9ba30538367db1262e9f3ef546a..35991de77940bb04e25271c358f1acfa421df7ef 100644 (file)
@@ -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))