Index: configure
===================================================================
--- configure	(revision 21111)
+++ configure	(working copy)
@@ -422,6 +422,11 @@
         echo "MythMusic requires CDDA Paranoia."
     fi
 
+    winsock="no"
+    if test "`echo ${targetos} | cut -c1-5`" = "MINGW"; then
+        winsock="yes"
+    fi
+
     mp3lame="no"
     if has_header lame/lame.h && has_library libmp3lame ; then
         mp3lame="yes"
@@ -725,6 +730,10 @@
     if test "$taglib" = "yes" ; then
         echo "INCLUDEPATH += `taglib-config --prefix`/include/taglib" >> ./mythmusic/mythmusic/config.pro
     fi
+
+    if test "$winsock" = "yes"; then
+        echo "LIBS += -lwsock32" >> ./mythmusic/mythmusic/config.pro
+    fi
 fi
 
 ###########################################################
