diff -Nru obexftp-0.23.orig/obexftp/client.c obexftp-0.23/obexftp/client.c --- obexftp-0.23.orig/obexftp/client.c 2009-02-17 18:27:48.000000000 +0000 +++ obexftp-0.23/obexftp/client.c 2009-03-22 16:12:05.000000000 +0000 @@ -51,8 +51,6 @@ #ifdef HAVE_BLUETOOTH #include "bt_kit.h" -#else -#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT #endif /* HAVE_BLUETOOTH */ #include <openobex/obex.h> diff -Nru obexftp-0.23.orig/apps/obexftp.c obexftp-0.23/apps/obexftp.c --- obexftp-0.23.orig/apps/obexftp.c 2009-02-17 18:27:48.000000000 +0000 +++ obexftp-0.23/apps/obexftp.c 2009-03-22 16:19:29.000000000 +0000 @@ -29,6 +29,8 @@ #include <sys/types.h> +#include <config.h> + #ifdef HAVE_SYS_TIMES_H #include <sys/times.h> #endif