[PATCH] src/storage.h: include unistd.h
by Khem Raj
ssize_t is otherwise reported as undefined when compiling ofono
with glibc 2.17
Signed-off-by: Khem Raj <raj.khem(a)gmail.com>
---
src/storage.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/storage.h b/src/storage.h
index c455bae..dbb51bc 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -26,6 +26,7 @@
#endif
#include <fcntl.h>
+#include <unistd.h>
int create_dirs(const char *filename, const mode_t mode);
--
1.7.9.5
8 years