WIN32 fixes
[deb_libnfs.git] / include / libnfs-private.h
index f995a7ef94a5466e1024b157563763fcc1f6e4ca..79ac411339668ffcb4e79d3edd00c95ed2b4f54c 100644 (file)
 #include "config.h"  /* HAVE_SOCKADDR_STORAGE ? */
 #endif
 
+#ifndef WIN32
 #include <sys/socket.h>  /* struct sockaddr_storage */
+#endif
 
 #include "libnfs-zdr.h"
 
-#ifndef HAVE_SOCKADDR_STORAGE
+
+#if !defined(HAVE_SOCKADDR_STORAGE) && !defined(WIN32)
 /*
  * RFC 2553: protocol-independent placeholder for socket addresses
  */