--- obexftp-0.22/apps/obexftpd.c.orig 2008-12-10 08:52:24.561257907 +0100 +++ obexftp-0.22/apps/obexftpd.c 2008-12-10 08:51:58.793259594 +0100 @@ -58,6 +58,9 @@ #include #include #include +#ifdef HAVE_BLUETOOTH +#include +#endif #endif /* just until there is a server layer in obexftp */