WIN32 fixes
[deb_libnfs.git] / include / nfsc / libnfs-zdr.h
index aae56be0ceabfc45641d3499ad03a5c3bc42f62a..5d9fe7c2cbdb387cf48e8e61de33d51927cd53cd 100644 (file)
 #ifndef _LIBNFS_ZDR_H_
 #define _LIBNFS_ZDR_H_
 
+#ifdef WIN32
+#ifndef CADDR_T_DEFINED
+#define CADDR_T_DEFINED
+typedef char *caddr_t;
+#endif
+#endif
+
 #include <stdio.h>
 #include <assert.h>
 #include <stdint.h>
@@ -41,6 +48,7 @@
 /* we dont need these */
 typedef void CLIENT;
 struct svc_req {
+       int _dummy_;
 };
 typedef void SVCXPRT;