From 49749c69ee15dee28948d353092d1bd8626b72df Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 19 Jan 2005 08:26:44 +0000 Subject: [PATCH] Added include sys/types.h if it exist. Added include sys/stat.h on Win32 --- client/client.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/client.c b/client/client.c index 9f13e82..40223c9 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: client.c,v 1.270 2005-01-17 13:08:53 adam Exp $ + * $Id: client.c,v 1.271 2005-01-19 08:26:44 adam Exp $ */ #include @@ -10,6 +10,9 @@ #include #include #include +#if HAVE_SYS_TYPES_H +#include +#endif #if HAVE_LOCALE_H #include #endif @@ -36,6 +39,7 @@ #endif #ifdef WIN32 +#include #include #include #define S_ISREG(x) (x & _S_IFREG) -- 1.7.10.4