util: Add PIPE_OS_CYGWIN to u_network.
authorVinson Lee <vlee@vmware.com>
Sat, 24 Jul 2010 01:47:21 +0000 (18:47 -0700)
committerVinson Lee <vlee@vmware.com>
Sat, 24 Jul 2010 01:50:04 +0000 (18:50 -0700)
src/gallium/auxiliary/util/u_network.c

index 87ee0e476852485fc04263b18f6302146a9e3d49..77f2c5fc7de658623c501d93210bb50656610af1 100644 (file)
@@ -6,7 +6,7 @@
 #if defined(PIPE_SUBSYSTEM_WINDOWS_USER)
 #  include <winsock2.h>
 #  include <windows.h>
-#elif defined(PIPE_OS_LINUX) || defined(PIPE_OS_HAIKU) || defined(PIPE_OS_APPLE)
+#elif defined(PIPE_OS_LINUX) || defined(PIPE_OS_HAIKU) || defined(PIPE_OS_APPLE) || defined(PIPE_OS_CYGWIN)
 #  include <sys/socket.h>
 #  include <netinet/in.h>
 #  include <unistd.h>