X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fproxy%2Fproxy.h;fp=include%2Fyaz%2B%2B%2Fproxy%2Fproxy.h;h=764be3d78bf49787e47166b7df4085576f89a710;hb=2193539b01eb9b085af2c2c3e4aa18fe4ae4c5f7;hp=06b33e4fc236e440b21c5c5c0e182a043186cb67;hpb=b200a151ba181895b6da93b37005c9a36ea84652;p=yazpp-moved-to-github.git diff --git a/include/yaz++/proxy/proxy.h b/include/yaz++/proxy/proxy.h index 06b33e4..764be3d 100644 --- a/include/yaz++/proxy/proxy.h +++ b/include/yaz++/proxy/proxy.h @@ -1,4 +1,4 @@ -/* $Id: proxy.h,v 1.2 2004-03-30 09:05:53 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 +#endif #include #include #include @@ -277,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;