From 92a1c29ad9003d7dad229fd5170ed83269c87658 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 16 Jan 2005 22:12:39 +0000 Subject: [PATCH] Minor include updates to make Windows happy --- client/client.c | 18 ++++++++++-------- src/ill-get.c | 3 ++- 2 files changed, 12 insertions(+), 9 deletions(-) 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, -- 1.7.10.4