--- a/obexftp/client.c +++ b/obexftp/client.c @@ -51,8 +51,6 @@ #ifdef HAVE_BLUETOOTH #include "bt_kit.h" -#else -#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT #endif /* HAVE_BLUETOOTH */ #include --- a/apps/obexftp.c +++ b/apps/obexftp.c @@ -29,6 +29,8 @@ #include +#include + #ifdef HAVE_SYS_TIMES_H #include #endif