ssize_t is otherwise reported as undefined when compiling ofono
with glibc 2.17

Signed-off-by: Khem Raj <[email protected]>
---
 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

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to