id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
26	Doesn't build with GHC >= 6.12 on non-Windows	kolmodin		"Recently released version {{{network-2.2.1.6}}} doesn't build on GHC >= 6.12 unless you're using Windows.


This is from a linux machine:

{{{
Preprocessing library network-2.2.1.6...
Building network-2.2.1.6...
[1 of 5] Compiling Network.URI      ( Network/URI.hs, dist/build/Network/URI.o )
[2 of 5] Compiling Network.Socket.Internal ( dist/build/Network/Socket/Internal.hs, 
dist/build/Network/Socket/Internal.o )
[3 of 5] Compiling Network.Socket   ( dist/build/Network/Socket.hs, dist/build/Netwo
rk/Socket.o )

Network/Socket.hsc:307:15:
    `fdIsSocket_' is not a (visible) field of constructor `FD'
}}}

The function {{{socket2FD}}} is used conditionally, as it only works on windows.

The attached patch makes sure {{{socket2FD}}} is declared only when on windows."	defect	closed	major	2.2.1.7	network	2.0	fixed		
