mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
lib and tests: add missing curl.h includes
Closes https://github.com/curl/curl/pull/9453
This commit is contained in:
parent
4a7c10c6cc
commit
d7dceb57d1
@ -31,6 +31,7 @@
|
||||
* be shared.
|
||||
*/
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include "timeval.h"
|
||||
|
||||
struct connectdata;
|
||||
|
@ -26,6 +26,8 @@
|
||||
|
||||
#ifndef CURL_DISABLE_CRYPTO_AUTH
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#define HMAC_MD5_LENGTH 16
|
||||
|
||||
typedef CURLcode (* HMAC_hinit_func)(void *context);
|
||||
|
@ -26,6 +26,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef CURL_DISABLE_CRYPTO_AUTH
|
||||
#include <curl/curl.h>
|
||||
#include "curl_hmac.h"
|
||||
|
||||
extern const struct HMAC_params Curl_HMAC_SHA256[1];
|
||||
|
@ -24,6 +24,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#ifndef BUILDING_LIBCURL
|
||||
/* this renames the functions so that the tool code can use the same code
|
||||
without getting symbol collisions */
|
||||
|
@ -30,6 +30,8 @@
|
||||
* as well as the library. Do not mix with library internals!
|
||||
*/
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 3
|
||||
# define ALLOC_FUNC __attribute__((malloc))
|
||||
# define ALLOC_SIZE(s) __attribute__((alloc_size(s)))
|
||||
|
@ -26,6 +26,8 @@
|
||||
|
||||
#include "curl_setup.h"
|
||||
#ifndef HAVE_SOCKETPAIR
|
||||
#include <curl/curl.h>
|
||||
|
||||
int Curl_socketpair(int domain, int type, int protocol,
|
||||
curl_socket_t socks[2]);
|
||||
#else
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "curl_setup.h"
|
||||
|
||||
#include "keylog.h"
|
||||
#include <curl/curl.h>
|
||||
|
||||
/* The last #include files should be: */
|
||||
#include "curl_memory.h"
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "curl_setup.h"
|
||||
|
||||
#ifndef CURL_DISABLE_FTP
|
||||
#include <curl/curl.h>
|
||||
#include "llist.h"
|
||||
|
||||
/* list of wildcard process states */
|
||||
|
@ -83,6 +83,8 @@ void restore_signal_handlers(bool keep_sigalrm);
|
||||
|
||||
#ifdef USE_UNIX_SOCKETS
|
||||
|
||||
#include <curl/curl.h> /* for curl_socket_t */
|
||||
|
||||
#ifdef HAVE_SYS_UN_H
|
||||
#include <sys/un.h> /* for sockaddr_un */
|
||||
#endif /* HAVE_SYS_UN_H */
|
||||
|
Loading…
Reference in New Issue
Block a user