[PATCH 1/2] wc-test: include unistd.h



From: Damien Lespiau <damien lespiau intel com>

write (2) needs the inclusion of unistd.h.

Signed-off-by: Damien Lespiau <damien lespiau intel com>
---
 libs/net/wc-test.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libs/net/wc-test.c b/libs/net/wc-test.c
index 4bb8d8e..6313c67 100644
--- a/libs/net/wc-test.c
+++ b/libs/net/wc-test.c
@@ -1,5 +1,7 @@
 #include "grl-net-wc.h"
+
 #include <stdio.h>
+#include <unistd.h>
 
 GMainLoop *loop;
 const gchar *uri;
-- 
1.7.2.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]