aboutsummaryrefslogtreecommitdiff
path: root/jim-aio.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2013-12-12 18:19:21 +1000
committerSteve Bennett <steveb@workware.net.au>2013-12-21 01:56:58 +1000
commite34b39c934f77942d589f8032859d9524550278e (patch)
treea48225552ecc1e7e7c108461735505101eb58b7a /jim-aio.c
parenta232fad08f37ed5a3aa3c49e46e5d65db9b3d597 (diff)
downloadjimtcl-e34b39c934f77942d589f8032859d9524550278e.zip
jimtcl-e34b39c934f77942d589f8032859d9524550278e.tar.gz
jimtcl-e34b39c934f77942d589f8032859d9524550278e.tar.bz2
Fix a couple of minor build issues
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-aio.c')
-rw-r--r--jim-aio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/jim-aio.c b/jim-aio.c
index c73ecb4..ec3e99b 100644
--- a/jim-aio.c
+++ b/jim-aio.c
@@ -44,6 +44,9 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include "jim.h"