From fc4050dcea173c61f8409a6c36f7fa5d7692642e Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 19 Sep 2014 16:10:09 +0200 Subject: [PATCH] alert: Fix compilation error with musl 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 1612d6cb2..8601bf164 100644 --- a/profiles/alert/server.c +++ b/profiles/alert/server.c @@ -31,6 +31,9 @@ #include #include #include +#include +#include +#include #include "lib/uuid.h" #include "src/plugin.h" -- 2.47.3