From 25001837e9f6a3727394f2f639aff7a0151bbbda Mon Sep 17 00:00:00 2001 From: David Shaw Date: Fri, 11 Feb 2005 18:05:13 +0000 Subject: * curl-shim.h, curl-shim.c: New. This is code to fake the curl API in terms of the current HTTP iobuf API. * gpgkeys_curl.c [FAKE_CURL], Makefile.am: If FAKE_CURL is set, link with the iobuf code rather than libcurl. --- keyserver/gpgkeys_curl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'keyserver/gpgkeys_curl.c') diff --git a/keyserver/gpgkeys_curl.c b/keyserver/gpgkeys_curl.c index 71ee97260..7c3dcb3c7 100644 --- a/keyserver/gpgkeys_curl.c +++ b/keyserver/gpgkeys_curl.c @@ -27,7 +27,11 @@ #ifdef HAVE_GETOPT_H #include #endif +#ifdef FAKE_CURL +#include "curl-shim.h" +#else #include +#endif #include "keyserver.h" #include "ksutil.h" -- cgit v1.2.3