From: Adam Dickmeiss Date: Sun, 16 Jan 2005 22:12:39 +0000 (+0000) Subject: Minor include updates to make Windows happy X-Git-Tag: YAZ.2.0.34~46 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=92a1c29ad9003d7dad229fd5170ed83269c87658 Minor include updates to make Windows happy --- diff --git a/client/client.c b/client/client.c index cac3f48..8abd5a2 100644 --- a/client/client.c +++ b/client/client.c @@ -2,19 +2,26 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: client.c,v 1.268 2005-01-15 19:47:08 adam Exp $ + * $Id: client.c,v 1.269 2005-01-16 22:12:39 adam Exp $ */ #include #include #include +#include +#include #if HAVE_LOCALE_H #include #endif - #if HAVE_LANGINFO_H #include #endif +#if HAVE_UNISTD_H +#include +#endif +#if HAVE_SYS_STAT_H +#include +#endif #if HAVE_OPENSSL_SSL_H #include @@ -25,15 +32,11 @@ #include #endif -#include -#include - #ifdef WIN32 #include +#include #define S_ISREG(x) (x & _S_IFREG) #define S_ISDIR(x) (x & _S_IFDIR) -#else -#include #endif #include @@ -62,7 +65,6 @@ #include #endif -#include #include "admin.h" #include "tabcomplete.h" diff --git a/src/ill-get.c b/src/ill-get.c index 9c89ca3..9e02f33 100644 --- a/src/ill-get.c +++ b/src/ill-get.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: ill-get.c,v 1.3 2005-01-15 19:47:13 adam Exp $ + * $Id: ill-get.c,v 1.4 2005-01-16 22:12:39 adam Exp $ */ /** @@ -10,6 +10,7 @@ * \brief Implements ILL package creator utilities */ +#include #include bool_t *ill_get_bool (struct ill_get_ctl *gc, const char *name,