]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
build: don't include winsock2.h on cygwin
authorEric Blake <eblake@redhat.com>
Fri, 23 Apr 2010 16:29:35 +0000 (10:29 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 23 Apr 2010 17:06:33 +0000 (11:06 -0600)
commit004aee63465c8703f90c94dc6b892a380d808fb2
tree63385b91be5f3c95013941bcafcec6a99d2ec363
parenteb9b6532434690d3c62d0f5780f9ea2af2d6da59
build: don't include winsock2.h on cygwin

Under cygwin, winsock2.h is intentionally incompatible with,
<sys/socket.h>, and checking for existence is wrong.

Under mingw, HAVE_WINSOCK2_H is defined on our behalf by
gnulib, in a way that does not interfere with cygwin.

* configure.ac: Drop unnecessary header check.
Reported by Matthias Bolte.
configure.ac