--- obexftp-0.23.orig/obexftp/client.c	2009-02-17 19:27:48.000000000 +0100
+++ obexftp-0.23/obexftp/client.c	2013-12-22 09:35:39.000000000 +0100
@@ -51,8 +51,6 @@
 
 #ifdef HAVE_BLUETOOTH
 #include "bt_kit.h"
-#else
-#define ESOCKTNOSUPPORT	WSAESOCKTNOSUPPORT
 #endif /* HAVE_BLUETOOTH */
 
 #include <openobex/obex.h>
