changed getPeerCred and add getPeerEid to support FreeBSD
Fix build with Android cross-compiler

HsNet.h needs to be included *before* #ifdef IPV6_SOCKET_SUPPORT.
Define SOCK_NONBLOCK if it is missing

SOCK_NONBLOCK is not defined by Bionic libc in Android.
Fixed build error on OpenBSD5.3 issue 96
fixing regression of accept4.

accept4 sets a socket non-blocking. So, we don't need to set it again.
Network.Socket: use withCStringLen instead of withCString in send and sendTo

This fixes a bug where send and sendTo assume that `length xs` is the byte
length of the string.  withCString(Len) produces a locale-dependent encoding,
so this assumption may be untrue if, say, UTF-8 is used.
configure script should accept --with-gcc flag instead of --with-cc
Move HSNet import to top of file; it was below '#if defined(IPV6_SOCKET_SUPPORT)' which requires it.
Merge pull request #105 from lukexi/master

Move HSNet import to top of file (fixes compilation error)
Merge pull request #101 from joeyadams/withCStringLen

Network.Socket: use withCStringLen instead of withCString in send and sendTo
Merge pull request #97 from noqqe/master

Fix for Issue #96 (OpenBSD build error)
refactoring accept4.
Merge pull request #99 from kazu-yamamoto/stable

fixing regression of accept4.
Merge branch 'master' of https://github.com/hreinhardt/network
Fix sClose reexported as deprecated
Remove trailing whitespace
add ld options

ability to set LDFLAGS for homebrew issue on Mac OS X
We don't support any other compilers than GHC

This commit was recreated from the 2.4.1.2 release, which commits were
somehow lost (i.e. not pushed to GitHub).
Fix a segfault on OS X

There's an OS X bug where passing AI_NUMERICSERV without a port number
causes the getaddrinfo syscall to segfault (which it shouldn't).

This commit was recreated from the 2.4.1.2 release, which commits were
somehow lost (i.e. not pushed to GitHub).
Bump version number to 2.4.1.2

This commit was recreated from the 2.4.1.2 release, which commits were
somehow lost (i.e. not pushed to GitHub).