repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into win32-3
[deb_libnfs.git]
/
lib
/
pdu.c
diff --git
a/lib/pdu.c
b/lib/pdu.c
index 23698a863da01bc26fca68c1bff719f6ee20f557..135efcbf9983322d9b082071a90e31b282643ee0 100644
(file)
--- a/
lib/pdu.c
+++ b/
lib/pdu.c
@@
-15,8
+15,14
@@
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
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>
#include <strings.h>
+#endif
+
+#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <rpc/rpc.h>
#include <stdlib.h>
#include <errno.h>
#include <rpc/rpc.h>