--- /tmp/osso-gwconnect-0.70.2/src/btcond-rfcomm.c	2005-05-16 21:36:41.000000000 +0200
+++ osso-gwconnect-0.70.2/src/btcond-rfcomm.c	2005-05-26 14:42:18.154141048 +0200
@@ -23,6 +23,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <errno.h>
+#include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>