From f63c8f02c94733255df60469574324c7ef211f3e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 16 Jan 2005 22:01:13 +0000 Subject: [PATCH] Added check for various headers, since comstack.h no longer include them --- src/zoom-c.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/zoom-c.c b/src/zoom-c.c index 227801c..bf4ef42 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: zoom-c.c,v 1.36 2005-01-16 21:40:51 adam Exp $ + * $Id: zoom-c.c,v 1.37 2005-01-16 22:01:13 adam Exp $ */ /** * \file zoom-c.c @@ -24,9 +24,21 @@ #include #include +#if HAVE_SYS_TYPES_H +#include +#endif +#if HAVE_SYS_TIME_H +#include +#endif #if HAVE_SYS_POLL_H #include #endif +#if HAVE_SYS_SELECT_H +#include +#endif +#ifdef WIN32 +#include +#endif static int log_level = 0; static int log_level_initialized = 0; @@ -1037,7 +1049,7 @@ static zoom_ret ZOOM_connection_send_init (ZOOM_connection c) ZOOM_options_get(c->options, "implementationName"), odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName)); - version = odr_strdup(c->odr_out, "$Revision: 1.36 $"); + version = odr_strdup(c->odr_out, "$Revision: 1.37 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; ireq->implementationVersion = odr_prepend(c->odr_out, -- 1.7.10.4