From: Adam Dickmeiss Date: Mon, 17 Jan 2005 10:29:00 +0000 (+0000) Subject: Fixed includes for FreeBSD X-Git-Tag: YAZ.2.0.34~42 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=811a01b02b3bf8851f13e1cdef1c01f755aa4ca5;p=yaz-moved-to-github.git Fixed includes for FreeBSD --- diff --git a/src/tcpdchk.c b/src/tcpdchk.c index 93a80b8..96ef8bc 100644 --- a/src/tcpdchk.c +++ b/src/tcpdchk.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: tcpdchk.c,v 1.6 2005-01-16 21:51:50 adam Exp $ + * $Id: tcpdchk.c,v 1.7 2005-01-17 10:29:25 adam Exp $ */ /** * \file tcpdchk.c @@ -12,11 +12,21 @@ #include #include +#if HAVE_SYS_TYPES_H +#include +#endif + #ifdef WIN32 #include #else +#include #include #include +#include +#endif + +#if HAVE_SYS_SOCKET_H +#include #endif #include diff --git a/src/unix.c b/src/unix.c index da80f53..1d2b925 100644 --- a/src/unix.c +++ b/src/unix.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: unix.c,v 1.9 2005-01-16 21:51:50 adam Exp $ + * $Id: unix.c,v 1.10 2005-01-17 10:29:00 adam Exp $ * UNIX socket COMSTACK. By Morten Bøgeskov. */ /** @@ -16,6 +16,9 @@ #include #include #include +#if HAVE_SYS_TYPES_H +#include +#endif #if HAVE_UNISTD_H #include #endif @@ -26,9 +29,6 @@ #if HAVE_PWD_H #include #endif -#if HAVE_SYS_TYPES_H -#include -#endif #if HAVE_SYS_SOCKET_H #include