Skip to content

Commit

Permalink
ZDR: we need to include both arpa/inet.h and time.h
Browse files Browse the repository at this point in the history
  • Loading branch information
sahlberg committed Jul 5, 2012
1 parent 442b829 commit b140627
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/libnfs-zdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b140627

Please sign in to comment.