* 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 $
*/
/*
#include <io.h>
#define S_ISREG(x) (x & _S_IFREG)
#include <process.h>
+#include <sys/stat.h>
#else
#include <sys/stat.h>
#include <unistd.h>
#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;
}
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,