X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ftcpip.c;h=f13b90b15b0398f15e1ea5e756b2d72094286a01;hb=5766857b4ed71f0ebe01b1f5fb2ebfb052bd5dfa;hp=92c9b3925c132fc464a4f5bc5ee487360c856297;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/src/tcpip.c b/src/tcpip.c index 92c9b39..f13b90b 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: tcpip.c,v 1.13 2005-01-15 19:47:14 adam Exp $ + * $Id: tcpip.c,v 1.14 2005-01-16 21:51:50 adam Exp $ */ /** * \file tcpip.c @@ -12,15 +12,38 @@ #include #include #include +#include +#include +#include +#if HAVE_SYS_TYPES_H +#include +#endif +#if HAVE_SYS_TIME_H +#include +#endif +#if HAVE_UNISTD_H +#include +#endif #ifdef WIN32 +#include #else -#include +#include +#include +#include +#include +#endif + +#if HAVE_SYS_SOCKET_H +#include +#endif +#if HAVE_SYS_SELECT_H +#include +#endif +#if HAVE_SYS_WAIT_H +#include #endif -#include -#include -#include #if HAVE_OPENSSL_SSL_H #include #include @@ -30,11 +53,6 @@ #include #include -#ifdef WIN32 -#else -#include -#endif - static int tcpip_close(COMSTACK h); static int tcpip_put(COMSTACK h, char *buf, int size); static int tcpip_get(COMSTACK h, char **buf, int *bufsize);