summaryrefslogtreecommitdiff
path: root/profiles/alert
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-09-19 16:10:09 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-09-24 21:31:13 +0300
commitfc4050dcea173c61f8409a6c36f7fa5d7692642e (patch)
treea3c45f906618ed8c4c119ca18e34a14f82d58960 /profiles/alert
parent46f67847f7174caebdca3cc8dec093716fe4fe67 (diff)
downloadbluez-fc4050dcea173c61f8409a6c36f7fa5d7692642e.tar.gz
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
Diffstat (limited to 'profiles/alert')
-rw-r--r--profiles/alert/server.c3
1 files changed, 3 insertions, 0 deletions
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 <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"