--- obexftp-0.24-Source.orig/obexftp/client.c	2013-03-05 21:43:50.000000000 +0100
+++ obexftp-0.24-Source/obexftp/client.c	2015-06-10 16:35:52.000000000 +0200
@@ -47,8 +47,6 @@
 
 #ifdef HAVE_BLUETOOTH
 #include "bt_kit.h"
-#else
-#define ESOCKTNOSUPPORT	WSAESOCKTNOSUPPORT
 #endif /* HAVE_BLUETOOTH */
 
 #include <openobex/obex.h>
