mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
examples: only include <curl/curl.h>
That's the only public curl header we should encourage use of. Reviewed-by: Marcel Raad Closes #3645
This commit is contained in:
parent
d6f73af730
commit
dd7d7107c7
@ -30,7 +30,7 @@
|
|||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#include <curl/multi.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
static const char *urls[] = {
|
static const char *urls[] = {
|
||||||
"https://www.microsoft.com",
|
"https://www.microsoft.com",
|
||||||
|
@ -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
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -72,7 +72,6 @@ callback.
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
#include <curl/multi.h>
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define _Unused __attribute__((unused))
|
#define _Unused __attribute__((unused))
|
||||||
|
Loading…
Reference in New Issue
Block a user