From: Adam Dickmeiss Date: Mon, 22 Oct 2012 08:36:38 +0000 (+0200) Subject: Include windows.h on Windows X-Git-Tag: v1.6.24~26 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=3fcbed280bd20e84d9062e3b6b7ac6d7decb80bb;p=pazpar2-moved-to-github.git Include windows.h on Windows This is to ensure that struct timeval is defined. --- diff --git a/src/client.c b/src/client.c index 426b289..44ee5d5 100644 --- a/src/client.c +++ b/src/client.c @@ -33,6 +33,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #if HAVE_UNISTD_H #include #endif +#ifdef WIN32 +#include +#endif #include #include