summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2009-05-18 10:46:17 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2009-05-18 10:46:17 +0000
commit1e138c1401824aa23ff01f9c44c6789bdf27a4d3 (patch)
treebffe1be075ae0eaeb521ff8c5a2eb47909759b44 /packages
parent89fb7c85bfd3db7b6ff9e4eceab26f1b8079219d (diff)
downloadcurl-1e138c1401824aa23ff01f9c44c6789bdf27a4d3.tar.gz
Added seek callback definitions in RPG wrappers
Made OS400 version compilable again
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/curl.inc.in7
-rw-r--r--packages/OS400/os400sys.c1
2 files changed, 8 insertions, 0 deletions
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 <sys/types.h>