From: Ronnie Sahlberg Date: Thu, 5 Jul 2012 11:17:45 +0000 (+1000) Subject: ZDR: we need to include both arpa/inet.h and time.h X-Git-Tag: upstream/1.9.6^2~242^2~13 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b14062764e21e3f03b5d0176f0ac6c127e760012;p=deb_libnfs.git ZDR: we need to include both arpa/inet.h and time.h --- diff --git a/lib/libnfs-zdr.c b/lib/libnfs-zdr.c index 8a60491..0ef4fc0 100644 --- a/lib/libnfs-zdr.c +++ b/lib/libnfs-zdr.c @@ -20,9 +20,15 @@ * i.e. zdrmem_create() buffers. * It aims to be compatible with normal rpcgen generated functions. */ +#ifdef WIN32 +#include "win32_compat.h" +#else +#include +#endif/*WIN32*/ #include #include +#include #include "libnfs-zdr.h" struct opaque_auth _null_auth;