X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2Fseshigh.c;h=f9b59233424c2b5f3f267cf4e5f521ad7660f6a6;hp=8820d5d51341f18646be256d70ba67932a2d2d90;hb=c76cdd28e9040ef40ae81a991a826d03b556e22c;hpb=db585d7fcb8319fa86543eb062df7fdaf16858c6 diff --git a/server/seshigh.c b/server/seshigh.c index 8820d5d..f9b5923 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.138 2003-02-17 22:34:39 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;