socket: fix broken connect for non broadcast traffic
[deb_libnfs.git] / nlm / libnfs-raw-nlm.h
index ca4dbe2a1512cc7ceead25eb84491f77ebe10c36..6437aa4ddbbacde76f7606c466d867cce9c187d7 100644 (file)
@@ -6,8 +6,7 @@
 #ifndef _NLM_H_RPCGEN
 #define _NLM_H_RPCGEN
 
-
-
+#include <nfsc/libnfs-zdr.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -17,6 +16,10 @@ extern "C" {
 typedef long long int quad_t;
 typedef long long unsigned u_quad_t;
 #endif
+#if defined(WIN32)
+typedef long long int quad_t;
+typedef long long unsigned u_quad_t;
+#endif
 
 struct nlm_fh4 {
        struct {