diff options
author | Keith Packard <keithp@keithp.com> | 2016-03-06 15:05:51 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-03-06 15:05:51 -0800 |
commit | 20d9286402b7da74fef9b7c98e79d13671f6c82b (patch) | |
tree | 86937eaddf101ae047867034b6f5f42805211e27 | |
parent | ad07578d04926cb4b96c40a446c47ad3f9bad7df (diff) |
libaltos: Add unistd.h to get defines for various syscalls
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | libaltos/libaltos.c | 1 |
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 |