X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=server%2Fseshigh.c;h=58af6b191b3154bc73764d91ea242e04d931e15c;hb=afddab87193266685fbbe2eba5592a22025fd3b6;hp=8820d5d51341f18646be256d70ba67932a2d2d90;hpb=db585d7fcb8319fa86543eb062df7fdaf16858c6;p=yaz-moved-to-github.git diff --git a/server/seshigh.c b/server/seshigh.c index 8820d5d..58af6b1 100644 --- a/server/seshigh.c +++ b/server/seshigh.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: seshigh.c,v 1.137 2003-02-17 21:23:31 adam Exp $ + * $Id: seshigh.c,v 1.139 2003-02-17 22:35:48 adam Exp $ */ /* @@ -33,6 +33,7 @@ #include #define S_ISREG(x) (x & _S_IFREG) #include +#include #else #include #include @@ -661,7 +662,9 @@ static void process_http_request(association *assoc, request *req) #endif if (!strcmp(hreq->path, "/")) { +#ifdef DOCDIR struct stat sbuf; +#endif const char *doclink = ""; p = z_get_HTTP_Response(o, 200); hres = p->u.HTTP_Response; @@ -692,7 +695,7 @@ static void process_http_request(association *assoc, request *req) } else if (!strcmp(hreq->method, "POST")) { -#if HAVE_XSLT +#if HAVE_XML2 const char *content_type = z_HTTP_header_lookup(hreq->headers, "Content-Type"); const char *soap_action = z_HTTP_header_lookup(hreq->headers,