Fix a few links
[yazpp-moved-to-github.git] / include / yaz++ / proxy / proxy.h
index 13e33a5..764be3d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: proxy.h,v 1.1 2004-03-29 22:46:50 adam Exp $
+/* $Id: proxy.h,v 1.3 2004-03-30 18:14:13 adam Exp $
    Copyright (c) 1998-2004, Index Data.
 
 This file is part of the yaz-proxy.
@@ -19,7 +19,9 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
  */
 
+#if HAVE_GETTIMEOFDAY
 #include <sys/time.h>
+#endif
 #include <yaz++/z-assoc.h>
 #include <yaz++/z-query.h>
 #include <yaz++/z-databases.h>
@@ -235,7 +237,11 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc {
     int m_request_no;
     int m_invalid_session;
     int m_marcxml_flag;
+#if HAVE_XSLT
     xsltStylesheetPtr m_stylesheet_xsp;
+#else
+    void *m_stylesheet_xsp;
+#endif
     int m_stylesheet_offset;
     Z_APDU *m_stylesheet_apdu;
     Z_NamePlusRecordList *m_stylesheet_nprl;
@@ -273,7 +279,9 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc {
     int m_http_keepalive;
     const char *m_http_version;
     Yaz_cql2rpn m_cql2rpn;
+#if HAVE_GETTIMEOFDAY
     struct timeval m_time_tv;
+#endif
     void logtime();
     Z_ElementSetNames *mk_esn_from_schema(ODR o, const char *schema);
     Z_ReferenceId *m_referenceId;