ZDR: we need to include both arpa/inet.h and time.h

libnfs-4.0.0-vitalif
Ronnie Sahlberg 2012-07-05 21:17:45 +10:00
parent 442b829a05
commit b14062764e
1 changed files with 6 additions and 0 deletions

View File

@ -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 <arpa/inet.h>
#endif/*WIN32*/
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "libnfs-zdr.h"
struct opaque_auth _null_auth;