X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsrwutil.c;h=841b571545cd79afeec989fd2825514fc0f442ef;hb=d168db0590bc858a1bc9bd5a6ea66abbcd8f7d7d;hp=c6e0c8befeacaa0e0c92edff6f8b9770be228c43;hpb=72b7bb88d5ea8551193180c9e0f7869dd111db45;p=yaz-moved-to-github.git diff --git a/src/srwutil.c b/src/srwutil.c index c6e0c8b..841b571 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: srwutil.c,v 1.43 2006-06-05 18:13:01 adam Exp $ + * $Id: srwutil.c,v 1.44 2006-06-14 05:47:10 adam Exp $ */ /** * \file srwutil.c @@ -1207,7 +1207,9 @@ int yaz_sru_soap_encode(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu, ODR odr, const char *charset) { Z_SOAP_Handler handlers[2] = { +#if HAVE_XML2 {"http://www.loc.gov/zing/srw/", 0, (Z_SOAP_fun) yaz_srw_codec}, +#endif {0, 0, 0} }; Z_SOAP *p = (Z_SOAP*) odr_malloc(odr, sizeof(*p));