[sane-devel] [PATCH v2] bldchn, checking for socklen_t more safe

2012-01-25 Thread Ruediger Meier
From: Ruediger Meier This patch is needed because currently we fail always where both ws2tcpip.h and socklen_t is needed. Note this patch may discover missing includes on systems where socklen_t is available but the right headers are not included yet. For example on win32 we need #ifdef HAVE_W

[sane-devel] [PATCH 0/2] don't define socklen_t in config.h

2012-01-25 Thread Ruediger Meier
On Wednesday 25 January 2012, Ruediger Meier wrote: > From: Ruediger Meier > > As discussed here > http://lists.alioth.debian.org/pipermail/sane-devel/2012-January/0294 >24.html I post this patches separately from my other win32/net series. > > I've fixed possible build failures caused by the firs

[sane-devel] Create dependencies for sane-backends

2012-01-25 Thread Rich Vaccaro
steponesystems.com -- next part -- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120125/053bff18/attachment.html>

[sane-devel] [PATCH 2/2] fix sanei_udp, socklen_t was not defined on win32

2012-01-25 Thread Ruediger Meier
From: Ruediger Meier Signed-off-by: Ruediger Meier --- sanei/sanei_udp.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/sanei/sanei_udp.c b/sanei/sanei_udp.c index ab316ea..baf4ee9 100644 --- a/sanei/sanei_udp.c +++ b/sanei/sanei_udp.c @@ -50,6 +50,9 @@ #ifdef H

[sane-devel] [PATCH 1/2] bldchn, checking for socklen_t more safe

2012-01-25 Thread Ruediger Meier
From: Ruediger Meier This patch is needed because currently we fail always where both ws2tcpip.h and socklen_t is needed. Now there is no "#define socklen_t int" in config.h anymore. Thus you have to do #ifdef HAVE_SOCKLEN_T typedef int socklen_t; #endif wherever it's needed. Note this

[sane-devel] [PATCH 0/2] don't define socklen_t in config.h

2012-01-25 Thread Ruediger Meier
From: Ruediger Meier As discussed here http://lists.alioth.debian.org/pipermail/sane-devel/2012-January/029424.html I post this patches separately from my other win32/net series. I've fixed possible build failures caused by the first patch only in sanei/sanei_udp.c so far because this is current

[sane-devel] [PATCH v2 04/14] bldchn, checking for socklen_t more safe

2012-01-25 Thread Ruediger Meier
On Tuesday 24 January 2012, Chris Bagwell wrote: > On Mon, Jan 23, 2012 at 5:05 PM, Ruediger Meier wrote: > > From: Ruediger Meier > > > > Here I just want to fix conflicts for win32 systems. Generally I'd > > say that we should never "#define socklen_t int" within config.h. > > But this may dec