Fix includes

This commit is contained in:
Federico Stazi 2020-08-07 08:53:33 +00:00
parent c7423c5f8a
commit 05c0a4b004
3 changed files with 3 additions and 4 deletions

View File

@ -12,9 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <cstdlib>
#include <iostream> #include <iostream>
#include "custom_curl.h" #include "custom_curl.h"
#include <stdlib.h>
CURLcode curl_easy_setopt_ptr(CURL* handle, CURLoption option, void* parameter) { CURLcode curl_easy_setopt_ptr(CURL* handle, CURLoption option, void* parameter) {
return curl_easy_setopt(handle, option, parameter); return curl_easy_setopt(handle, option, parameter);

View File

@ -17,8 +17,6 @@
#ifndef CUSTOM_CURL_H #ifndef CUSTOM_CURL_H
#define CUSTOM_CURL_H #define CUSTOM_CURL_H
#include <curl/curlver.h>
#include <curl/system.h>
#include <curl/curl.h> #include <curl/curl.h>
extern "C" CURLcode curl_easy_setopt_ptr(CURL *handle, CURLoption option, void* parameter); extern "C" CURLcode curl_easy_setopt_ptr(CURL *handle, CURLoption option, void* parameter);

View File

@ -15,8 +15,8 @@
#include <libgen.h> #include <libgen.h>
#include <syscall.h> #include <syscall.h>
#include <iostream> #include <iostream>
#include "curl_sapi.sapi.h" #include "curl_sapi.sapi.h"
#include "sandboxed_api/util/flag.h"
/* /*
int main() { int main() {