X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftcpdchk.c;h=98bdc2b0ec0273582b2a50414cc35305dc53ba23;hb=4e58607ee6ef2a5d183262b9a87415fed2311c85;hp=1a9d7868884b50cb74f5a13ff5d798bcac8c4956;hpb=8d691989077a0addcbd840d769dce6700f3d9622;p=yaz-moved-to-github.git diff --git a/src/tcpdchk.c b/src/tcpdchk.c index 1a9d786..98bdc2b 100644 --- a/src/tcpdchk.c +++ b/src/tcpdchk.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * $Id: tcpdchk.c,v 1.9 2007-01-03 08:42:15 adam Exp $ */ /** * \file tcpdchk.c @@ -12,24 +10,22 @@ #include #include +#ifdef WIN32 +#include +#endif + #if HAVE_SYS_TYPES_H #include #endif -#ifdef WIN32 -#include -#else +#if HAVE_NETINET_IN_H #include -#include -#include -#include #endif -#if HAVE_SYS_SOCKET_H -#include +#if HAVE_NETDB_H +#include #endif -#include #include #include #include