CC profiles/alert/bluetoothd-server.o In file included from profiles/alert/server.c:49:0: ./src/textfile.h:24:1: error: unknown type name 'mode_t' int create_file(const char *filename, const mode_t mode); ^ Makefile:7469: recipe for target 'profiles/alert/bluetoothd-server.o' failed make[1]: *** [profiles/alert/bluetoothd-server.o] Error 1 Makefile:3072: recipe for target 'all' failed --- profiles/alert/server.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/alert/server.c b/profiles/alert/server.c index 1612d6c..8601bf1 100644 --- a/profiles/alert/server.c +++ b/profiles/alert/server.c @@ -31,6 +31,9 @@ #include <gdbus/gdbus.h> #include <glib.h> #include <stdlib.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> #include "lib/uuid.h" #include "src/plugin.h" -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html