repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
442b829
)
ZDR: we need to include both arpa/inet.h and time.h
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 5 Jul 2012 11:17:45 +0000
(21:17 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 5 Jul 2012 11:17:45 +0000
(21:17 +1000)
lib/libnfs-zdr.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/libnfs-zdr.c
b/lib/libnfs-zdr.c
index 8a60491cfc6f3a9309fcbc587676aaba8731933a..0ef4fc02ce00b712535a2d5d266ce374f0d73dc6 100644
(file)
--- 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 <arpa/inet.h>
+#endif/*WIN32*/
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "libnfs-zdr.h"
struct opaque_auth _null_auth;