From 1e138c1401824aa23ff01f9c44c6789bdf27a4d3 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Mon, 18 May 2009 10:46:17 +0000 Subject: Added seek callback definitions in RPG wrappers Made OS400 version compilable again --- packages/OS400/curl.inc.in | 7 +++++++ packages/OS400/os400sys.c | 1 + 2 files changed, 8 insertions(+) diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in index 08651f677..bec89fb07 100644 --- a/packages/OS400/curl.inc.in +++ b/packages/OS400/curl.inc.in @@ -112,6 +112,13 @@ d HTTPPOST_CALLBACK... d c X'00000040' * + d CURL_SEEKFUNC_OK... + d c 0 + d CURL_SEEKFUNC_FAIL... + d c 1 + d CURL_SEEKFUNC_CANTSEEK... + d c 2 + * d CURL_READFUNC_ABORT... d c X'10000000' d CURL_READFUNC_PAUSE... diff --git a/packages/OS400/os400sys.c b/packages/OS400/os400sys.c index 05db5c27f..0a525f253 100644 --- a/packages/OS400/os400sys.c +++ b/packages/OS400/os400sys.c @@ -24,6 +24,7 @@ /* OS/400 additional support. */ +#include "curlbuild.h" #include "config-os400.h" /* Not setup.h: we only need some defines. */ #include -- cgit v1.2.3