Skip to contentSkip to conversation

src/storage.h: include unistd.h

PATCH New Khem Raj 1 participant 1 message Jan 4, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 src/storage.h: include unistd.h

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

---
 src/storage.h |    1 +
 1 file changed, 1 insertion(+)
src/storage.h +1 -0
index c455bae..dbb51bc 100644
@@ -26,6 +26,7 @@
 #endif
 
 #include <fcntl.h>
+#include <unistd.h>
 
 int create_dirs(const char *filename, const mode_t mode);
 
Signature · 1 line
1.7.9.5