[sane-devel] [PATCH v2 05/14] fix sanei_udp, socklen_t was not defined on win32
Ruediger Meier
sweet_f_a at gmx.de
Mon Jan 23 23:05:50 UTC 2012
From: Ruediger Meier <ruediger.meier at ga-group.nl>
---
sanei/sanei_udp.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sanei/sanei_udp.c b/sanei/sanei_udp.c
index ab316ea..e9e2bfe 100644
--- a/sanei/sanei_udp.c
+++ b/sanei/sanei_udp.c
@@ -50,6 +50,9 @@
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#endif
+#ifdef HAVE_WS2TCPIP_H
+#include <ws2tcpip.h>
+#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#include <netinet/in.h>
--
1.7.6.1
More information about the sane-devel
mailing list