lib/altsvc.c+0 -1
| @@ -28,7 +28,6 @@ |
| #include "curl_setup.h" |
| |
| #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_ALTSVC) |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "altsvc.h" |
| #include "curl_fopen.h" |
lib/altsvc.h+0 -1
| @@ -26,7 +26,6 @@ |
| #include "curl_setup.h" |
| |
| #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_ALTSVC) |
| - | #include <curl/curl.h> |
| #include "llist.h" |
| |
| struct althost { |
lib/amigaos.c+0 -2
| @@ -26,8 +26,6 @@ |
| |
| #ifdef __AMIGA__ |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "hostip.h" |
| #include "amigaos.h" |
| |
lib/asyn-ares.c+0 -1
| @@ -32,7 +32,6 @@ |
| * as defined in asyn.h, nothing else belongs in this file! |
| **********************************************************************/ |
| |
| - | #include <limits.h> |
| #ifdef HAVE_NETINET_IN_H |
| #include <netinet/in.h> |
| #endif |
lib/bufq.h+0 -2
| @@ -25,8 +25,6 @@ |
| ***************************************************************************/ |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| /** |
| * A chunk of bytes for reading and writing. |
| * The size is fixed a creation with read and write offset |
lib/cf-h1-proxy.c+0 -1
| @@ -26,7 +26,6 @@ |
| |
| #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP) |
| |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "curlx/dynbuf.h" |
| #include "sendf.h" |
lib/cf-h2-proxy.c+1 -0
| @@ -28,6 +28,7 @@ |
| defined(USE_NGHTTP2) |
| |
| #include <nghttp2/nghttp2.h> |
| + | |
| #include "urldata.h" |
| #include "url.h" |
| #include "cfilters.h" |
lib/cf-haproxy.c+0 -1
| @@ -26,7 +26,6 @@ |
| |
| #ifndef CURL_DISABLE_PROXY |
| |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "cfilters.h" |
| #include "cf-haproxy.h" |
lib/cf-haproxy.h+1 -0
| @@ -25,6 +25,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #include "urldata.h" |
| |
| #ifndef CURL_DISABLE_PROXY |
lib/cf-https-connect.c+0 -1
| @@ -27,7 +27,6 @@ |
| #ifndef CURL_DISABLE_HTTP |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "curl_trc.h" |
| #include "cfilters.h" |
| #include "connect.h" |
lib/conncache.c+0 -2
| @@ -25,8 +25,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "url.h" |
| #include "cfilters.h" |
lib/conncache.h+0 -1
| @@ -25,7 +25,6 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> |
| #include "curlx/timeval.h" |
| |
| struct connectdata; |
lib/content_encoding.c+0 -2
| @@ -25,8 +25,6 @@ |
| #include "curl_setup.h" |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| - | #include <stddef.h> |
| |
| #ifdef HAVE_LIBZ |
| #include <zlib.h> |
lib/cookie.h+0 -2
| @@ -25,8 +25,6 @@ |
| ***************************************************************************/ |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "llist.h" |
| |
| struct Cookie { |
lib/cshutdn.c+0 -2
| @@ -25,8 +25,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "url.h" |
| #include "cfilters.h" |
lib/cshutdn.h+0 -1
| @@ -25,7 +25,6 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> |
| #include "curlx/timeval.h" |
| |
| struct connectdata; |
lib/curl_addrinfo.c+1 -3
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #ifdef HAVE_NETINET_IN_H |
| # include <netinet/in.h> |
| #endif |
| @@ -47,7 +45,7 @@ |
| # include <inet.h> |
| #endif |
| |
| - | #include <stddef.h> |
| + | #include <stddef.h> /* for offsetof() */ |
| |
| #include "curl_addrinfo.h" |
| #include "fake_addrinfo.h" |
lib/curl_fnmatch.c+0 -1
| @@ -24,7 +24,6 @@ |
| |
| #include "curl_setup.h" |
| #ifndef CURL_DISABLE_FTP |
| - | #include <curl/curl.h> |
| |
| #include "curl_fnmatch.h" |
| |
lib/curl_gssapi.h+1 -0
| @@ -25,6 +25,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #include "urldata.h" |
| |
| #ifdef HAVE_GSSAPI |
lib/curl_hmac.h+0 -2
| @@ -28,8 +28,6 @@ |
| !defined(CURL_DISABLE_AWS) || !defined(CURL_DISABLE_DIGEST_AUTH) || \ |
| defined(USE_LIBSSH2) || defined(USE_SSL) |
| |
| - | #include <curl/curl.h> |
| - | |
| #define HMAC_MD5_LENGTH 16 |
| |
| typedef CURLcode (*HMAC_hinit)(void *context); |
lib/curl_md4.h+0 -1
| @@ -25,7 +25,6 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| - | #include <curl/curl.h> |
| |
| #ifdef USE_CURL_NTLM_CORE |
| |
lib/curl_memrchr.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "curl_memrchr.h" |
| |
| #ifndef HAVE_MEMRCHR |
lib/curl_memrchr.h+0 -1
| @@ -28,7 +28,6 @@ |
| |
| #ifdef HAVE_MEMRCHR |
| |
| - | #include <string.h> |
| #ifdef HAVE_STRINGS_H |
| # include <strings.h> |
| #endif |
lib/curl_range.c+2 -2
| @@ -23,9 +23,9 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| - | #include <curl/curl.h> |
| + | |
| #include "curl_range.h" |
| - | #include "sendf.h" |
| + | #include "curl_trc.h" |
| #include "curlx/strparse.h" |
| |
| /* Only include this function if one or more of FTP, FILE are enabled. */ |
lib/curl_range.h+1 -0
| @@ -25,6 +25,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #include "urldata.h" |
| |
| CURLcode Curl_range(struct Curl_easy *data); |
lib/curl_rtmp.c+1 -1
| @@ -35,7 +35,7 @@ |
| #include "transfer.h" |
| #include "bufref.h" |
| #include "curlx/warnless.h" |
| - | #include <curl/curl.h> |
| + | |
| #include <librtmp/rtmp.h> |
| |
| #if defined(USE_WINSOCK) || defined(LWIP_SO_SNDRCVTIMEO_NONSTANDARD) |
lib/curl_sasl.c+0 -2
| @@ -39,9 +39,7 @@ |
| !defined(CURL_DISABLE_POP3) || \ |
| (!defined(CURL_DISABLE_LDAP) && defined(USE_OPENLDAP)) |
| |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| - | |
| #include "curlx/base64.h" |
| #include "vauth/vauth.h" |
| #include "cfilters.h" |
lib/curl_sasl.h+0 -2
| @@ -24,8 +24,6 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "bufref.h" |
| |
| struct Curl_easy; |
lib/curl_setup.h+1 -1
| @@ -924,7 +924,7 @@ extern curl_calloc_callback Curl_ccalloc; |
| (ptr) = NULL; \ |
| } while(0) |
| |
| - | #include <curl/curl.h> /* for CURL_EXTERN, mprintf.h */ |
| + | #include <curl/curl.h> /* for CURL_EXTERN, curl_socket_t, mprintf.h */ |
| |
| #ifdef CURLDEBUG |
| #ifdef __clang__ |
lib/curl_setup_once.h+0 -1
| @@ -28,7 +28,6 @@ |
| * Inclusion of common header files. |
| */ |
| |
| - | #include <stdio.h> |
| #include <stdlib.h> |
| #include <string.h> |
| #include <stdarg.h> |
lib/curl_sha256.h+2 -1
| @@ -25,10 +25,11 @@ |
| * |
| ***************************************************************************/ |
| |
| + | #include "curl_setup.h" |
| + | |
| #if !defined(CURL_DISABLE_AWS) || !defined(CURL_DISABLE_DIGEST_AUTH) || \ |
| defined(USE_LIBSSH2) || defined(USE_SSL) |
| |
| - | #include <curl/curl.h> |
| #include "curl_hmac.h" |
| |
| extern const struct HMAC_params Curl_HMAC_SHA256; |
lib/curl_sha512_256.c+0 -1
| @@ -65,7 +65,6 @@ |
| (__NetBSD_Version__ >= 1099000000 && \ |
| __NetBSD_Version__ < 1099001100) |
| # define NEED_NETBSD_SHA512_256_WORKAROUND 1 |
| - | # include <string.h> |
| # endif |
| # endif |
| # endif |
lib/curl_sha512_256.h+2 -1
| @@ -24,9 +24,10 @@ |
| * |
| ***************************************************************************/ |
| |
| + | #include "curl_setup.h" |
| + | |
| #if !defined(CURL_DISABLE_DIGEST_AUTH) && !defined(CURL_DISABLE_SHA512_256) |
| |
| - | #include <curl/curl.h> |
| #include "curl_hmac.h" |
| |
| #define CURL_HAVE_SHA512_256 |
lib/curl_share.c+0 -1
| @@ -24,7 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "connect.h" |
| #include "curl_share.h" |
lib/curl_share.h+1 -1
| @@ -25,7 +25,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| - | #include <curl/curl.h> |
| + | |
| #include "cookie.h" |
| #include "psl.h" |
| #include "urldata.h" |
lib/curl_sspi.c+0 -1
| @@ -26,7 +26,6 @@ |
| |
| #ifdef USE_WINDOWS_SSPI |
| |
| - | #include <curl/curl.h> |
| #include "curl_sspi.h" |
| #include "strdup.h" |
| #include "curlx/multibyte.h" |
lib/curl_sspi.h+0 -2
| @@ -28,8 +28,6 @@ |
| |
| #ifdef USE_WINDOWS_SSPI |
| |
| - | #include <curl/curl.h> |
| - | |
| /* |
| * When including the following three headers, it is mandatory to define either |
| * SECURITY_WIN32 or SECURITY_KERNEL, indicating who is compiling the code. |
lib/curl_threads.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #if defined(USE_THREADS_POSIX) && defined(HAVE_PTHREAD_H) |
| #include <pthread.h> |
| #endif |
lib/curl_trc.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "curl_trc.h" |
| #include "urldata.h" |
| #include "cfilters.h" |
lib/curlx/base64.c+0 -1
| @@ -26,7 +26,6 @@ |
| |
| #include "../curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| #include "warnless.h" |
| #include "base64.h" |
| |
lib/curlx/dynbuf.h+0 -2
| @@ -24,8 +24,6 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> |
| - | |
| struct dynbuf { |
| char *bufr; /* point to a null-terminated allocated buffer */ |
| size_t leng; /* number of bytes *EXCLUDING* the null-terminator */ |
lib/curlx/nonblock.h+0 -2
| @@ -24,8 +24,6 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> /* for curl_socket_t */ |
| - | |
| int curlx_nonblock(curl_socket_t sockfd, /* operate on this */ |
| int nonblock /* TRUE or FALSE */); |
| |
lib/curlx/strerr.c+0 -2
| @@ -32,8 +32,6 @@ |
| # endif |
| #endif |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "winapi.h" |
| #include "snprintf.h" |
| #include "strerr.h" |
lib/curlx/strparse.c+0 -4
| @@ -24,10 +24,6 @@ |
| |
| #include "strparse.h" |
| |
| - | #ifndef WITHOUT_LIBCURL |
| - | #include <curl/curl.h> /* for curl_strnequal() */ |
| - | #endif |
| - | |
| void curlx_str_init(struct Curl_str *out) |
| { |
| out->str = NULL; |
lib/curlx/timediff.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "timediff.h" |
| |
| - | #include <limits.h> |
| - | |
| /* |
| * Converts number of milliseconds into a timeval structure. |
| * |
lib/curlx/timeval.c+0 -1
| @@ -26,7 +26,6 @@ |
| |
| #ifdef _WIN32 |
| |
| - | #include <curl/curl.h> |
| #include "version_win32.h" |
| #include "../system_win32.h" |
| |
lib/curlx/version_win32.c+0 -1
| @@ -26,7 +26,6 @@ |
| |
| #ifdef _WIN32 |
| |
| - | #include <curl/curl.h> |
| #include "version_win32.h" |
| #include "warnless.h" |
| |
lib/curlx/wait.c+0 -2
| @@ -28,8 +28,6 @@ |
| #error "We cannot compile without select() support." |
| #endif |
| |
| - | #include <limits.h> |
| - | |
| #ifdef HAVE_SYS_SELECT_H |
| #include <sys/select.h> |
| #elif defined(HAVE_UNISTD_H) |
lib/curlx/warnless.c+0 -2
| @@ -35,8 +35,6 @@ |
| |
| #endif /* __INTEL_COMPILER && __unix__ */ |
| |
| - | #include <limits.h> |
| - | |
| #define CURL_MASK_UCHAR ((unsigned char)~0) |
| |
| #define CURL_MASK_USHORT ((unsigned short)~0) |
lib/curlx/warnless.h+0 -4
| @@ -26,10 +26,6 @@ |
| |
| #include "../curl_setup.h" |
| |
| - | #ifdef USE_WINSOCK |
| - | #include <curl/curl.h> /* for curl_socket_t */ |
| - | #endif |
| - | |
| #define CURLX_FUNCTION_CAST(target_type, func) \ |
| (target_type)(void (*)(void))(func) |
| |
lib/cw-out.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "cfilters.h" |
| #include "headers.h" |
lib/cw-pause.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "bufq.h" |
| #include "cfilters.h" |
lib/dict.c+0 -1
| @@ -53,7 +53,6 @@ |
| #endif |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "transfer.h" |
| #include "sendf.h" |
| #include "escape.h" |
lib/dynhds.c+1 -0
| @@ -23,6 +23,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #include "dynhds.h" |
| #include "strcase.h" |
| |
lib/dynhds.h+0 -1
| @@ -25,7 +25,6 @@ |
| ***************************************************************************/ |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| #include "curlx/dynbuf.h" |
| |
| struct dynbuf; |
lib/easy.c+0 -1
| @@ -45,7 +45,6 @@ |
| #endif |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "transfer.h" |
| #include "vtls/vtls.h" |
| #include "vtls/vtls_scache.h" |
lib/easygetopt.c+1 -0
| @@ -23,6 +23,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #include "easyoptions.h" |
| |
| #ifndef CURL_DISABLE_GETOPTIONS |
lib/easyoptions.c+1 -0
| @@ -25,6 +25,7 @@ |
| /* This source code is generated by optiontable.pl - DO NOT EDIT BY HAND */ |
| |
| #include "curl_setup.h" |
| + | |
| #include "easyoptions.h" |
| |
| /* all easy setopt options listed in alphabetical order */ |
lib/easyoptions.h+0 -2
| @@ -26,8 +26,6 @@ |
| |
| /* should probably go into the public header */ |
| |
| - | #include <curl/curl.h> |
| - | |
| /* generated table with all easy options */ |
| extern const struct curl_easyoption Curl_easyopts[]; |
| |
lib/escape.c+0 -2
| @@ -27,8 +27,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| struct Curl_easy; |
| |
| #include "urldata.h" |
lib/fake_addrinfo.c+1 -2
| @@ -23,12 +23,11 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #include "fake_addrinfo.h" |
| |
| #ifdef USE_FAKE_GETADDRINFO |
| |
| - | #include <string.h> |
| - | #include <stdlib.h> |
| #include <ares.h> |
| |
| void r_freeaddrinfo(struct addrinfo *cahead) |
lib/fake_addrinfo.h+1 -1
| @@ -31,7 +31,7 @@ |
| #endif |
| |
| #if defined(CURLDEBUG) && defined(USE_ARES) && defined(HAVE_GETADDRINFO) && \ |
| - | (ARES_VERSION >= 0x011a00) /* >= 1.26. 0 */ |
| + | (ARES_VERSION >= 0x011a00) /* >= 1.26.0 */ |
| #define USE_FAKE_GETADDRINFO 1 |
| #endif |
| |
lib/file.c+0 -1
| @@ -55,7 +55,6 @@ |
| #endif |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "progress.h" |
| #include "sendf.h" |
| #include "escape.h" |
lib/fileinfo.h+2 -1
| @@ -24,7 +24,8 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> |
| + | #include "curl_setup.h" |
| + | |
| #include "llist.h" |
| #include "curlx/dynbuf.h" |
| |
lib/formdata.c+1 -2
| @@ -24,11 +24,10 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| struct Curl_easy; |
| |
| #include "formdata.h" |
| + | |
| #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_FORM_API) |
| |
| #include "urldata.h" /* for struct Curl_easy */ |
lib/ftp.c+0 -1
| @@ -40,7 +40,6 @@ |
| #include <inet.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "sendf.h" |
| #include "if2ip.h" |
lib/ftplistparser.c+0 -2
| @@ -41,8 +41,6 @@ |
| |
| #ifndef CURL_DISABLE_FTP |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "fileinfo.h" |
| #include "llist.h" |
lib/getenv.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| char *curl_getenv(const char *variable) |
| { |
| #if defined(CURL_WINDOWS_UWP) || \ |
lib/getinfo.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "getinfo.h" |
| #include "cfilters.h" |
lib/gopher.c+0 -1
| @@ -27,7 +27,6 @@ |
| #ifndef CURL_DISABLE_GOPHER |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "transfer.h" |
| #include "sendf.h" |
| #include "cfilters.h" |
lib/hash.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "hash.h" |
| |
| /* random patterns for API verification */ |
lib/hash.h+0 -2
| @@ -26,8 +26,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <stddef.h> |
| - | |
| /* Hash function prototype */ |
| typedef size_t (*hash_function)(void *key, |
| size_t key_length, |
lib/hmac.c+0 -2
| @@ -30,8 +30,6 @@ |
| !defined(CURL_DISABLE_AWS) || !defined(CURL_DISABLE_DIGEST_AUTH) || \ |
| defined(USE_SSL) |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "curl_hmac.h" |
| #include "curlx/warnless.h" |
| |
lib/hostip.h+1 -0
| @@ -25,6 +25,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #include "hash.h" |
| #include "curl_addrinfo.h" |
| #include "curlx/timeval.h" /* for timediff_t */ |
lib/hsts.c+0 -1
| @@ -28,7 +28,6 @@ |
| #include "curl_setup.h" |
| |
| #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_HSTS) |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "llist.h" |
| #include "hsts.h" |
lib/hsts.h+0 -1
| @@ -26,7 +26,6 @@ |
| #include "curl_setup.h" |
| |
| #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_HSTS) |
| - | #include <curl/curl.h> |
| #include "llist.h" |
| |
| #if defined(DEBUGBUILD) || defined(UNITTESTS) |
lib/http.c+0 -1
| @@ -48,7 +48,6 @@ |
| #endif |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "transfer.h" |
| #include "sendf.h" |
| #include "formdata.h" |
lib/http1.c+0 -1
| @@ -27,7 +27,6 @@ |
| #ifndef CURL_DISABLE_HTTP |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "http.h" |
| #include "http1.h" |
| #include "urlapi-int.h" |
lib/http2.c+1 -1
| @@ -27,6 +27,7 @@ |
| #if !defined(CURL_DISABLE_HTTP) && defined(USE_NGHTTP2) |
| #include <stdint.h> |
| #include <nghttp2/nghttp2.h> |
| + | |
| #include "urldata.h" |
| #include "bufq.h" |
| #include "uint-hash.h" |
| @@ -3045,7 +3046,6 @@ void *Curl_nghttp2_realloc(void *ptr, size_t size, void *user_data) |
| #else /* CURL_DISABLE_HTTP || !USE_NGHTTP2 */ |
| |
| /* Satisfy external references even if http2 is not compiled in. */ |
| - | #include <curl/curl.h> |
| |
| char *curl_pushheader_bynum(struct curl_pushheaders *h, size_t num) |
| { |
lib/http_aws_sigv4.c+1 -2
| @@ -36,11 +36,10 @@ |
| #include "escape.h" |
| #include "curlx/strparse.h" |
| #include "curlx/timeval.h" |
| + | #include "slist.h" |
| |
| #include <time.h> |
| |
| - | #include "slist.h" |
| - | |
| #define HMAC_SHA256(k, kl, d, dl, o) \ |
| do { \ |
| result = Curl_hmacit(&Curl_HMAC_SHA256, \ |
lib/http_aws_sigv4.h+1 -0
| @@ -24,6 +24,7 @@ |
| * |
| ***************************************************************************/ |
| #include "curl_setup.h" |
| + | |
| #include "curlx/dynbuf.h" |
| #include "urldata.h" |
| #include "curlx/strparse.h" |
lib/http_chunks.h+1 -0
| @@ -23,6 +23,7 @@ |
| * SPDX-License-Identifier: curl |
| * |
| ***************************************************************************/ |
| + | #include "curl_setup.h" |
| |
| #ifndef CURL_DISABLE_HTTP |
| |
lib/http_digest.h+1 -0
| @@ -23,6 +23,7 @@ |
| * SPDX-License-Identifier: curl |
| * |
| ***************************************************************************/ |
| + | |
| #include "curl_setup.h" |
| |
| #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_DIGEST_AUTH) |
lib/http_negotiate.h+2 -0
| @@ -24,6 +24,8 @@ |
| * |
| ***************************************************************************/ |
| |
| + | #include "curl_setup.h" |
| + | |
| #if !defined(CURL_DISABLE_HTTP) && defined(USE_SPNEGO) |
| |
| /* this is for Negotiate header input */ |
lib/http_proxy.c+0 -1
| @@ -28,7 +28,6 @@ |
| |
| #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_PROXY) |
| |
| - | #include <curl/curl.h> |
| #include "sendf.h" |
| #include "http.h" |
| #include "url.h" |
lib/idn.c+1 -0
| @@ -27,6 +27,7 @@ |
| */ |
| |
| #include "curl_setup.h" |
| + | |
| #include "urldata.h" |
| #include "idn.h" |
| #include "sendf.h" |
lib/imap.c+1 -2
| @@ -36,7 +36,6 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| - | #include "curlx/dynbuf.h" |
| |
| #ifndef CURL_DISABLE_IMAP |
| |
| @@ -54,7 +53,7 @@ |
| #include <inet.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| + | #include "curlx/dynbuf.h" |
| #include "urldata.h" |
| #include "sendf.h" |
| #include "hostip.h" |
lib/ldap.c+0 -1
| @@ -77,7 +77,6 @@ |
| #endif |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "cfilters.h" |
| #include "sendf.h" |
| #include "escape.h" |
lib/llist.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "llist.h" |
| |
| #ifdef DEBUGBUILD |
lib/llist.h+0 -1
| @@ -25,7 +25,6 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| - | #include <stddef.h> |
| |
| typedef void (*Curl_llist_dtor)(void *user, void *elem); |
| |
lib/macos.c+0 -2
| @@ -26,8 +26,6 @@ |
| |
| #ifdef CURL_MACOS_CALL_COPYPROXIES |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "macos.h" |
| |
| #include <SystemConfiguration/SCDynamicStoreCopySpecific.h> |
lib/md4.c+0 -2
| @@ -26,8 +26,6 @@ |
| |
| #ifdef USE_CURL_NTLM_CORE |
| |
| - | #include <string.h> |
| - | |
| #include "curl_md4.h" |
| #include "curlx/warnless.h" |
| |
lib/md5.c+0 -3
| @@ -27,9 +27,6 @@ |
| #if (defined(USE_CURL_NTLM_CORE) && !defined(USE_WINDOWS_SSPI)) || \ |
| !defined(CURL_DISABLE_DIGEST_AUTH) |
| |
| - | #include <string.h> |
| - | #include <curl/curl.h> |
| - | |
| #include "curl_md5.h" |
| #include "curl_hmac.h" |
| #include "curlx/warnless.h" |
lib/memdebug.c+1 -1
| @@ -26,7 +26,7 @@ |
| |
| #ifdef CURLDEBUG |
| |
| - | #include <curl/curl.h> |
| + | #include <stddef.h> /* for offsetof() */ |
| |
| #include "urldata.h" |
| #include "curl_threads.h" |
lib/mime.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| struct Curl_easy; |
| |
| #include "mime.h" |
lib/mprintf.c+1 -0
| @@ -23,6 +23,7 @@ |
| */ |
| |
| #include "curl_setup.h" |
| + | |
| #include "curlx/dynbuf.h" |
| #include "curl_printf.h" |
| #include "curlx/strparse.h" |
lib/mqtt.c+0 -1
| @@ -28,7 +28,6 @@ |
| #ifndef CURL_DISABLE_MQTT |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "transfer.h" |
| #include "sendf.h" |
| #include "progress.h" |
lib/multi.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "transfer.h" |
| #include "url.h" |
lib/multi_ev.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "url.h" |
| #include "cfilters.h" |
lib/multi_ntfy.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "curl_trc.h" |
| #include "multihandle.h" |
lib/netrc.c+1 -1
| @@ -23,6 +23,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #ifndef CURL_DISABLE_NETRC |
| |
| #ifdef HAVE_PWD_H |
| @@ -35,7 +36,6 @@ |
| #endif |
| #endif |
| |
| - | #include <curl/curl.h> |
| #include "netrc.h" |
| #include "strcase.h" |
| #include "curl_get_line.h" |
lib/netrc.h+1 -0
| @@ -25,6 +25,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #ifndef CURL_DISABLE_NETRC |
| #include "curlx/dynbuf.h" |
| |
lib/noproxy.c+0 -1
| @@ -26,7 +26,6 @@ |
| |
| #ifndef CURL_DISABLE_PROXY |
| |
| - | #include <curl/curl.h> /* for curl_strnequal() */ |
| #include "curlx/inet_pton.h" |
| #include "noproxy.h" |
| #include "curlx/strparse.h" |
lib/openldap.c+0 -1
| @@ -42,7 +42,6 @@ |
| |
| #include "urldata.h" |
| #include "url.h" |
| - | #include <curl/curl.h> |
| #include "sendf.h" |
| #include "vtls/vtls.h" |
| #include "transfer.h" |
lib/optiontable.pl+1 -0
| @@ -31,6 +31,7 @@ print <<HEAD |
| /* This source code is generated by optiontable.pl - DO NOT EDIT BY HAND */ |
| |
| #include "curl_setup.h" |
| + | |
| #include "easyoptions.h" |
| |
| /* all easy setopt options listed in alphabetical order */ |
lib/parsedate.c+0 -3
| @@ -77,9 +77,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <limits.h> |
| - | |
| - | #include <curl/curl.h> |
| #include "curlx/warnless.h" |
| #include "parsedate.h" |
| #include "curlx/strparse.h" |
lib/pop3.c+0 -1
| @@ -55,7 +55,6 @@ |
| #include <inet.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "sendf.h" |
| #include "hostip.h" |
lib/psl.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #ifdef USE_LIBPSL |
| |
| #include "psl.h" |
lib/rand.c+0 -3
| @@ -24,13 +24,10 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <limits.h> |
| - | |
| #ifdef HAVE_ARPA_INET_H |
| #include <arpa/inet.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "vtls/vtls.h" |
| #include "sendf.h" |
lib/rename.c+1 -2
| @@ -22,8 +22,6 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include "rename.h" |
| - | |
| #include "curl_setup.h" |
| |
| #if (!defined(CURL_DISABLE_HTTP) || !defined(CURL_DISABLE_COOKIES)) || \ |
| @@ -31,6 +29,7 @@ |
| |
| #include "curlx/multibyte.h" |
| #include "curlx/timeval.h" |
| + | #include "rename.h" |
| |
| /* return 0 on success, 1 on error */ |
| int Curl_rename(const char *oldpath, const char *newpath) |
lib/rtsp.c+0 -1
| @@ -27,7 +27,6 @@ |
| #ifndef CURL_DISABLE_RTSP |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "transfer.h" |
| #include "sendf.h" |
| #include "multiif.h" |
lib/select.c+0 -4
| @@ -28,16 +28,12 @@ |
| #error "We cannot compile without select() or poll() support." |
| #endif |
| |
| - | #include <limits.h> |
| - | |
| #ifdef HAVE_SYS_SELECT_H |
| #include <sys/select.h> |
| #elif defined(HAVE_UNISTD_H) |
| #include <unistd.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "connect.h" |
| #include "select.h" |
lib/sendf.c+0 -2
| @@ -34,8 +34,6 @@ |
| #include <netinet/tcp.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "urldata.h" |
| #include "sendf.h" |
| #include "transfer.h" |
lib/setopt.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <limits.h> |
| - | |
| #ifdef HAVE_NETINET_IN_H |
| #include <netinet/in.h> |
| #endif |
lib/slist.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "slist.h" |
| |
| /* returns last node in linked list */ |
lib/smtp.c+0 -1
| @@ -57,7 +57,6 @@ |
| #include <inet.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "sendf.h" |
| #include "hostip.h" |
lib/socketpair.c+0 -1
| @@ -111,7 +111,6 @@ int Curl_socketpair(int domain, int type, int protocol, |
| /* |
| * This is a socketpair() implementation for Windows. |
| */ |
| - | #include <string.h> |
| #ifdef HAVE_IO_H |
| #include <io.h> |
| #endif |
lib/socketpair.h+0 -4
| @@ -33,7 +33,6 @@ |
| #define wakeup_close close |
| #define wakeup_create(p, nb) Curl_eventfd(p, nb) |
| |
| - | #include <curl/curl.h> |
| int Curl_eventfd(curl_socket_t socks[2], bool nonblocking); |
| |
| #elif defined(HAVE_PIPE) |
| @@ -43,7 +42,6 @@ int Curl_eventfd(curl_socket_t socks[2], bool nonblocking); |
| #define wakeup_close close |
| #define wakeup_create(p, nb) Curl_pipe(p, nb) |
| |
| - | #include <curl/curl.h> |
| int Curl_pipe(curl_socket_t socks[2], bool nonblocking); |
| |
| #else /* !USE_EVENTFD && !HAVE_PIPE */ |
| @@ -73,8 +71,6 @@ int Curl_pipe(curl_socket_t socks[2], bool nonblocking); |
| #endif /* USE_EVENTFD */ |
| |
| #ifndef CURL_DISABLE_SOCKETPAIR |
| - | #include <curl/curl.h> |
| - | |
| int Curl_socketpair(int domain, int type, int protocol, |
| curl_socket_t socks[2], bool nonblocking); |
| #endif |
lib/splay.h+1 -0
| @@ -24,6 +24,7 @@ |
| * |
| ***************************************************************************/ |
| #include "curl_setup.h" |
| + | |
| #include "curlx/timeval.h" |
| |
| /* only use function calls to access this struct */ |
lib/strcase.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "strcase.h" |
| |
| /* Mapping table to go from lowercase to uppercase for plain ASCII.*/ |
lib/strcase.h+1 -1
| @@ -24,7 +24,7 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> |
| + | #include "curl_setup.h" |
| |
| char Curl_raw_toupper(char in); |
| char Curl_raw_tolower(char in); |
lib/strdup.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #ifdef _WIN32 |
| #include <wchar.h> |
| #endif |
lib/strequal.c+0 -1
| @@ -24,7 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| #include "strcase.h" |
| |
| /* |
lib/strerror.c+0 -3
| @@ -24,9 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | #include <curl/mprintf.h> |
| - | |
| #ifdef USE_WINDOWS_SSPI |
| #include "curl_sspi.h" |
| #endif |
lib/strerror.h+2 -0
| @@ -24,6 +24,8 @@ |
| * |
| ***************************************************************************/ |
| |
| + | #include "curl_setup.h" |
| + | |
| #ifdef USE_WINDOWS_SSPI |
| const char *Curl_sspi_strerror(SECURITY_STATUS err, char *buf, size_t buflen); |
| #endif |
lib/system_win32.c+0 -1
| @@ -26,7 +26,6 @@ |
| |
| #ifdef _WIN32 |
| |
| - | #include <curl/curl.h> |
| #include "system_win32.h" |
| #include "curlx/version_win32.h" |
| #include "curl_sspi.h" |
lib/system_win32.h+0 -2
| @@ -28,8 +28,6 @@ |
| |
| #ifdef _WIN32 |
| |
| - | #include <curl/curl.h> |
| - | |
| extern LARGE_INTEGER Curl_freq; |
| extern bool Curl_isVistaOrGreater; |
| |
lib/telnet.c+0 -1
| @@ -48,7 +48,6 @@ |
| |
| #include "urldata.h" |
| #include "url.h" |
| - | #include <curl/curl.h> |
| #include "transfer.h" |
| #include "sendf.h" |
| #include "telnet.h" |
lib/tftp.c+0 -1
| @@ -47,7 +47,6 @@ |
| #endif |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| #include "cfilters.h" |
| #include "cf-socket.h" |
| #include "transfer.h" |
lib/transfer.c+1 -2
| @@ -56,9 +56,8 @@ |
| #endif |
| |
| #include "urldata.h" |
| - | #include <curl/curl.h> |
| - | #include "netrc.h" |
| |
| + | #include "netrc.h" |
| #include "content_encoding.h" |
| #include "hostip.h" |
| #include "cfilters.h" |
lib/uint-bset.h+0 -2
| @@ -25,8 +25,6 @@ |
| ***************************************************************************/ |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| /* A bitset for unsigned int values. |
| * It can hold the numbers from 0 - (nmax - 1), |
| * rounded to the next 64 multiple. |
lib/uint-hash.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "uint-hash.h" |
| |
| /* random patterns for API verification */ |
lib/uint-hash.h+0 -2
| @@ -26,8 +26,6 @@ |
| |
| #include "curl_setup.h" |
| |
| - | #include <stddef.h> |
| - | |
| /* A version with uint32_t as key */ |
| typedef void Curl_uint32_hash_dtor(uint32_t id, void *value); |
| struct uint_hash_entry; |
lib/uint-spbset.c+1 -0
| @@ -23,6 +23,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #include "uint-bset.h" |
| #include "uint-spbset.h" |
| |
lib/uint-spbset.h+0 -2
| @@ -25,8 +25,6 @@ |
| ***************************************************************************/ |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| /* A "sparse" bitset for uint32_t values. |
| * It can hold any uint32_t value. |
| * |
lib/uint-table.c+1 -0
| @@ -23,6 +23,7 @@ |
| ***************************************************************************/ |
| |
| #include "curl_setup.h" |
| + | |
| #include "uint-table.h" |
| |
| #ifdef DEBUGBUILD |
lib/uint-table.h+0 -2
| @@ -25,8 +25,6 @@ |
| ***************************************************************************/ |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| /* Destructor for a single table entry */ |
| typedef void Curl_uint32_tbl_entry_dtor(uint32_t key, void *entry); |
| |
lib/url.c+0 -2
| @@ -66,8 +66,6 @@ |
| #include <iphlpapi.h> |
| #endif |
| |
| - | #include <limits.h> |
| - | |
| #include "doh.h" |
| #include "urldata.h" |
| #include "netrc.h" |
lib/urldata.h+0 -2
| @@ -146,8 +146,6 @@ typedef unsigned int curl_prot_t; |
| |
| #include "curlx/timeval.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "http_chunks.h" /* for the structs and enum stuff */ |
| #include "hostip.h" |
| #include "hash.h" |
lib/vauth/cleartext.c+0 -2
| @@ -31,8 +31,6 @@ |
| !defined(CURL_DISABLE_POP3) || \ |
| (!defined(CURL_DISABLE_LDAP) && defined(USE_OPENLDAP)) |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../curlx/warnless.h" |
| #include "../sendf.h" |
lib/vauth/cram.c+0 -2
| @@ -28,8 +28,6 @@ |
| |
| #ifndef CURL_DISABLE_DIGEST_AUTH |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../curl_hmac.h" |
| #include "../curl_md5.h" |
lib/vauth/digest.c+0 -2
| @@ -29,8 +29,6 @@ |
| |
| #ifndef CURL_DISABLE_DIGEST_AUTH |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "digest.h" |
| #include "../curlx/base64.h" |
lib/vauth/digest.h+1 -1
| @@ -24,7 +24,7 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> |
| + | #include "../curl_setup.h" |
| |
| #ifndef CURL_DISABLE_DIGEST_AUTH |
| |
lib/vauth/digest_sspi.c+0 -2
| @@ -29,8 +29,6 @@ |
| |
| #if defined(USE_WINDOWS_SSPI) && !defined(CURL_DISABLE_DIGEST_AUTH) |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "digest.h" |
| #include "../curlx/warnless.h" |
lib/vauth/gsasl.c+0 -2
| @@ -28,8 +28,6 @@ |
| |
| #ifdef USE_GSASL |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../sendf.h" |
| |
lib/vauth/krb5_gssapi.c+0 -2
| @@ -29,8 +29,6 @@ |
| |
| #if defined(HAVE_GSSAPI) && defined(USE_KERBEROS5) |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../curl_sasl.h" |
| #include "../curl_gssapi.h" |
lib/vauth/krb5_sspi.c+0 -2
| @@ -28,8 +28,6 @@ |
| |
| #if defined(USE_WINDOWS_SSPI) && defined(USE_KERBEROS5) |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../curlx/warnless.h" |
| #include "../sendf.h" |
lib/vauth/ntlm_sspi.c+0 -2
| @@ -26,8 +26,6 @@ |
| |
| #if defined(USE_WINDOWS_SSPI) && defined(USE_NTLM) |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../curl_ntlm_core.h" |
| #include "../curlx/warnless.h" |
lib/vauth/oauth2.c+0 -2
| @@ -30,8 +30,6 @@ |
| !defined(CURL_DISABLE_POP3) || \ |
| (!defined(CURL_DISABLE_LDAP) && defined(USE_OPENLDAP)) |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../curlx/warnless.h" |
| |
lib/vauth/spnego_gssapi.c+0 -2
| @@ -28,8 +28,6 @@ |
| |
| #if defined(HAVE_GSSAPI) && defined(USE_SPNEGO) |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../curlx/base64.h" |
| #include "../curl_gssapi.h" |
lib/vauth/spnego_sspi.c+0 -2
| @@ -28,8 +28,6 @@ |
| |
| #if defined(USE_WINDOWS_SSPI) && defined(USE_SPNEGO) |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../curlx/base64.h" |
| #include "../curlx/warnless.h" |
lib/vauth/vauth.c+0 -2
| @@ -24,8 +24,6 @@ |
| |
| #include "../curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| #include "vauth.h" |
| #include "../strdup.h" |
| #include "../curlx/multibyte.h" |
lib/vauth/vauth.h+1 -1
| @@ -24,7 +24,7 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> |
| + | #include "../curl_setup.h" |
| |
| #include "../bufref.h" |
| #include "../curlx/dynbuf.h" |
lib/version.c+0 -1
| @@ -28,7 +28,6 @@ |
| #include <nghttp2/nghttp2.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| #include "urldata.h" |
| #include "vtls/vtls.h" |
| #include "http2.h" |
lib/vssh/libssh.c+0 -3
| @@ -29,8 +29,6 @@ |
| |
| #ifdef USE_LIBSSH |
| |
| - | #include <limits.h> |
| - | |
| #ifdef HAVE_NETINET_IN_H |
| #include <netinet/in.h> |
| #endif |
| @@ -45,7 +43,6 @@ |
| #include <inet.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| #include "../urldata.h" |
| #include "../sendf.h" |
| #include "../hostip.h" |
lib/vssh/libssh2.c+0 -3
| @@ -28,8 +28,6 @@ |
| |
| #ifdef USE_LIBSSH2 |
| |
| - | #include <limits.h> |
| - | |
| #ifdef HAVE_NETINET_IN_H |
| #include <netinet/in.h> |
| #endif |
| @@ -44,7 +42,6 @@ |
| #include <inet.h> |
| #endif |
| |
| - | #include <curl/curl.h> |
| #include "../urldata.h" |
| #include "../sendf.h" |
| #include "../hostip.h" |
lib/vssh/vssh.c+0 -1
| @@ -27,7 +27,6 @@ |
| #ifdef USE_SSH |
| |
| #include "vssh.h" |
| - | #include <curl/curl.h> |
| #include "../curlx/strparse.h" |
| #include "../curl_trc.h" |
| #include "../escape.h" |
lib/vssh/vssh.h+1 -1
| @@ -25,7 +25,7 @@ |
| ***************************************************************************/ |
| |
| #include "../curl_setup.h" |
| - | #include <curl/curl.h> |
| + | |
| #include "../urldata.h" |
| |
| CURLcode Curl_getworkingpath(struct Curl_easy *data, |
lib/vtls/cipher_suite.c+0 -1
| @@ -25,7 +25,6 @@ |
| |
| #if defined(USE_MBEDTLS) || defined(USE_RUSTLS) |
| #include "cipher_suite.h" |
| - | #include <string.h> |
| |
| /* |
| * To support the CURLOPT_SSL_CIPHER_LIST option on SSL backends |
lib/vtls/gtls.h+0 -1
| @@ -25,7 +25,6 @@ |
| ***************************************************************************/ |
| |
| #include "../curl_setup.h" |
| - | #include <curl/curl.h> |
| |
| #ifdef USE_GNUTLS |
| |
lib/vtls/hostcheck.h+1 -1
| @@ -24,7 +24,7 @@ |
| * |
| ***************************************************************************/ |
| |
| - | #include <curl/curl.h> |
| + | #include "../curl_setup.h" |
| |
| #if defined(USE_OPENSSL) || defined(USE_SCHANNEL) |
| |
lib/vtls/keylog.c+0 -1
| @@ -31,7 +31,6 @@ |
| defined(USE_RUSTLS) |
| |
| #include "keylog.h" |
| - | #include <curl/curl.h> |
| #include "../escape.h" |
| #include "../curlx/fopen.h" |
| |
lib/vtls/openssl.c+0 -2
| @@ -31,8 +31,6 @@ |
| |
| #if defined(USE_QUICHE) || defined(USE_OPENSSL) |
| |
| - | #include <limits.h> |
| - | |
| /* Wincrypt must be included before anything that could include OpenSSL. */ |
| #ifdef USE_WIN32_CRYPTO |
| #include <wincrypt.h> |
lib/vtls/wolfssl.c+0 -2
| @@ -53,8 +53,6 @@ |
| #endif |
| #endif |
| |
| - | #include <limits.h> |
| - | |
| #include "../urldata.h" |
| #include "../sendf.h" |
| #include "vtls.h" |
lib/vtls/x509asn1.c+0 -1
| @@ -37,7 +37,6 @@ |
| #define WANT_EXTRACT_CERTINFO /* uses Curl_extract_certinfo() */ |
| #endif |
| |
| - | #include <curl/curl.h> |
| #include "../urldata.h" |
| #include "../curl_ctype.h" |
| #include "hostcheck.h" |
lib/ws.c+0 -1
| @@ -22,7 +22,6 @@ |
| * |
| ***************************************************************************/ |
| #include "curl_setup.h" |
| - | #include <curl/curl.h> |
| |
| #if !defined(CURL_DISABLE_WEBSOCKETS) && !defined(CURL_DISABLE_HTTP) |
| |
src/tool_setup.h+0 -2
| @@ -45,8 +45,6 @@ extern FILE *tool_stderr; |
| * curl tool certainly uses libcurl's external interface. |
| */ |
| |
| - | #include <curl/curl.h> /* external interface */ |
| - | |
| #include <curlx/curlx.h> |
| |
| /* |
tests/libtest/first.h+0 -2
| @@ -32,8 +32,6 @@ |
| knowledge about the system we are building this on */ |
| #include "curl_setup.h" |
| |
| - | #include <curl/curl.h> |
| - | |
| typedef CURLcode (*entry_func_t)(const char *); |
| |
| struct entry_s { |
tests/server/first.h+0 -2
| @@ -98,8 +98,6 @@ enum { |
| DOCNUMBER_404 = -1 |
| }; |
| |
| - | #include <curl/curl.h> /* for curl_socket_t */ |
| - | |
| #ifdef USE_UNIX_SOCKETS |
| #ifdef HAVE_SYS_UN_H |
| #include <sys/un.h> /* for sockaddr_un */ |