summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/serial.c b/serial.c
index ee6d4907..9d585f47 100644
--- a/serial.c
+++ b/serial.c
@@ -1,7 +1,9 @@
/* $Id$ */
#include <sys/types.h>
#include <sys/stat.h>
+#ifndef S_SPLINT_S
#include <unistd.h>
+#endif /* S_SPLINT_S */
#include <string.h>
#include <fcntl.h>
#include <errno.h>