Merge branch 'master' into win32-3
[deb_libnfs.git] / lib / pdu.c
index 23698a863da01bc26fca68c1bff719f6ee20f557..135efcbf9983322d9b082071a90e31b282643ee0 100644 (file)
--- a/lib/pdu.c
+++ b/lib/pdu.c
    along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
 
-#include <stdio.h>
+#if defined(WIN32)
+#include <winsock2.h>
+#define MSG_DONTWAIT 0
+#else
 #include <strings.h>
+#endif
+
+#include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
 #include <rpc/rpc.h>