changeset 17446:9604131f9196

Cygwin compilation fix patch by Erik Lunchpail < erik_27can %%@%% yahoo %%.%% com >
author diego
date Fri, 20 Jan 2006 22:44:12 +0000
parents 7c21b0f1c4f9
children 749300515ec2
files libmpdemux/cddb.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/cddb.c	Fri Jan 20 22:28:21 2006 +0000
+++ b/libmpdemux/cddb.c	Fri Jan 20 22:44:12 2006 +0000
@@ -28,7 +28,9 @@
 #define mkdir(a,b) mkdir(a)
 #endif
 #include <windows.h>
+#ifdef HAVE_WINSOCK2
 #include <winsock2.h>
+#endif
 #else
 #include <netdb.h>
 #include <sys/ioctl.h>