1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

[curl] Compilation fixes

This commit is contained in:
Witold Filipczyk 2023-07-08 09:30:55 +02:00
parent b5e9fa400d
commit 1a5f77f1f4
3 changed files with 6 additions and 0 deletions

View File

@ -57,7 +57,9 @@ do { \
#define EINTRLOOP(ret_, call_) EINTRLOOPX(ret_, call_, -1)
#ifdef CONFIG_LIBCURL
#include <curl/curl.h>
#endif
#include "elinks.h"

View File

@ -19,7 +19,9 @@
#define USE_LIBEVENT
#endif
#ifdef CONFIG_LIBCURL
#include <curl/curl.h>
#endif
#ifdef __cplusplus
extern "C" {

View File

@ -1,7 +1,9 @@
#ifndef EL__PROTOCOL_CURL_HTTP_H
#define EL__PROTOCOL_CURL_HTTP_H
#ifdef CONFIG_LIBCURL
#include <curl/curl.h>
#endif
#include "main/module.h"
#include "protocol/protocol.h"