make adjustments for v6 of the qemu NFS driver
[deb_libnfs.git] / lib / socket.c
index 1676084f21dfad95b764c74cef4997af46cc303d..152dfb4a44df57528ccc7106348bcf32afb14764 100644 (file)
@@ -399,6 +399,10 @@ void rpc_set_tcp_syncnt(struct rpc_context *rpc, int v)
        rpc->tcp_syncnt = v;
 }
 
+#ifndef TCP_SYNCNT
+#define TCP_SYNCNT        7
+#endif
+
 static int rpc_connect_sockaddr_async(struct rpc_context *rpc, struct sockaddr_storage *s)
 {
        int socksize;