[win32] - make it compile on win32
[deb_libnfs.git] / mount / mount.c
index 6b6bf743252f93347bc7f4075a97c0f9abbee402..c530a686c89bf4182b44ef8ff11c2be7c7af22d8 100644 (file)
@@ -15,9 +15,9 @@
    along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
 
-#if defined(WIN32)
-#include <winsock2.h>
-#endif
+#ifdef WIN32
+#include "win32_compat.h"
+#endif/*WIN32*/
 
 #include <stdio.h>
 #include <errno.h>
@@ -28,7 +28,6 @@
 #include "libnfs-private.h"
 #include "libnfs-raw-mount.h"
 
-
 int rpc_mount_null_async(struct rpc_context *rpc, rpc_cb cb, void *private_data)
 {
        struct rpc_pdu *pdu;