-/* $Id: yaz-proxy-main.cpp,v 1.7 2004-12-13 20:52:33 adam Exp $
- Copyright (c) 1998-2004, Index Data.
+/* $Id: yaz-proxy-main.cpp,v 1.11 2005-02-11 15:39:55 adam Exp $
+ Copyright (c) 1998-2005, Index Data.
This file is part of the yaz-proxy.
02111-1307, USA.
*/
-#ifdef WIN32
-#else
#include <signal.h>
+#if HAVE_UNISTD_H
#include <unistd.h>
-#include <pwd.h>
#endif
+#if HAVE_SYS_TYPES_H
#include <sys/types.h>
-
-#include <stdarg.h>
-
-#if HAVE_GETRLIMIT
+#endif
+#if HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
+#if HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+#if HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
+#if HAVE_PWD_H
+#include <pwd.h>
+#endif
+
+#include <stdarg.h>
+#include <stdlib.h>
#include <yaz/log.h>
#include <yaz/options.h>
err = proxy->set_config(arg);
if (err == -2)
{
- fprintf(stderr, "Config file support not enabled (proxy not compiled with libxml2 support)\n");
+ fprintf(stderr, "Config file support not enabled (not using libxslt & libxml2)\n");
exit(1);
}
else if (err == -1)