Commit a2f23e8fb15daf252446de85d22484b214b4bad5

Con Kolivas 2014-02-20T21:35:08

Fix missing include

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/spi-context.c b/spi-context.c
index d070de2..e0ec139 100644
--- a/spi-context.c
+++ b/spi-context.c
@@ -17,6 +17,7 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <assert.h>
+#include <unistd.h>
 
 struct spi_ctx *spi_init(struct spi_config *config)
 {