summaryrefslogtreecommitdiff
path: root/src/os_unix.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-05-13 10:51:08 +0000
committerBram Moolenaar <Bram@vim.org>2009-05-13 10:51:08 +0000
commit0ab2a8870cc335acd99f7f4d806f802818d97014 (patch)
tree604a7a94f20947c47cb08fb013fb84c62b6e9ca9 /src/os_unix.h
parent3c65e314b432707440593d9ecf8d016b99e8ed8c (diff)
downloadvim-git-0ab2a8870cc335acd99f7f4d806f802818d97014.tar.gz
updated for version 7.2-168
Diffstat (limited to 'src/os_unix.h')
-rw-r--r--src/os_unix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os_unix.h b/src/os_unix.h
index a337183c4..0a37763c1 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -53,7 +53,9 @@
#endif
#ifdef HAVE_UNISTD_H
-# include <unistd.h>
+# ifndef S_SPLINT_S /* splint crashes on bits/confname.h */
+# include <unistd.h>
+# endif
#endif
#ifdef HAVE_LIBC_H