From: Adam Dickmeiss Date: Wed, 19 Jan 2005 08:26:44 +0000 (+0000) Subject: Added include sys/types.h if it exist. Added include sys/stat.h on Win32 X-Git-Tag: YAZ.2.0.34~37 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=49749c69ee15dee28948d353092d1bd8626b72df;p=yaz-moved-to-github.git Added include sys/types.h if it exist. Added include sys/stat.h on Win32 --- 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)