repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Win32: more win32 adaptations
[deb_libnfs.git]
/
lib
/
pdu.c
diff --git
a/lib/pdu.c
b/lib/pdu.c
index d6e823201e99393efa9d1bd3df0988da44c27ef2..6cb85ae8028e436e1eed5dda5f3ff89586dfdf79 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>