mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[curl] Compilation fixes
This commit is contained in:
parent
b5e9fa400d
commit
1a5f77f1f4
@ -57,7 +57,9 @@ do { \
|
|||||||
|
|
||||||
#define EINTRLOOP(ret_, call_) EINTRLOOPX(ret_, call_, -1)
|
#define EINTRLOOP(ret_, call_) EINTRLOOPX(ret_, call_, -1)
|
||||||
|
|
||||||
|
#ifdef CONFIG_LIBCURL
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "elinks.h"
|
#include "elinks.h"
|
||||||
|
|
||||||
|
@ -19,7 +19,9 @@
|
|||||||
#define USE_LIBEVENT
|
#define USE_LIBEVENT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_LIBCURL
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
#ifndef EL__PROTOCOL_CURL_HTTP_H
|
#ifndef EL__PROTOCOL_CURL_HTTP_H
|
||||||
#define EL__PROTOCOL_CURL_HTTP_H
|
#define EL__PROTOCOL_CURL_HTTP_H
|
||||||
|
|
||||||
|
#ifdef CONFIG_LIBCURL
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "main/module.h"
|
#include "main/module.h"
|
||||||
#include "protocol/protocol.h"
|
#include "protocol/protocol.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user