lib and tests: add missing curl.h includes

Closes https://github.com/curl/curl/pull/9453
This commit is contained in:
Marcel Raad 2022-09-07 12:19:29 +02:00
parent 4a7c10c6cc
commit d7dceb57d1
No known key found for this signature in database
GPG key ID: 33C416EFAE4D6F02
9 changed files with 14 additions and 0 deletions

View file

@ -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)))