summaryrefslogtreecommitdiff
path: root/libaltos
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-03-06 15:05:51 -0800
committerKeith Packard <keithp@keithp.com>2016-03-06 15:05:51 -0800
commit20d9286402b7da74fef9b7c98e79d13671f6c82b (patch)
tree86937eaddf101ae047867034b6f5f42805211e27 /libaltos
parentad07578d04926cb4b96c40a446c47ad3f9bad7df (diff)
libaltos: Add unistd.h to get defines for various syscalls
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'libaltos')
-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