summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libaltos/libaltos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libaltos/libaltos.c b/libaltos/libaltos.c
index 97b7b3f9..ebef2e21 100644
--- a/libaltos/libaltos.c
+++ b/libaltos/libaltos.c
@@ -83,6 +83,7 @@ altos_strndup (const char *s, size_t n)
#include <fcntl.h>
#include <termios.h>
#include <errno.h>
+#include <unistd.h>
#define USB_BUF_SIZE 64