mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix includes
This commit is contained in:
parent
c7423c5f8a
commit
05c0a4b004
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user