summaryrefslogtreecommitdiff
path: root/driver_navcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver_navcom.c')
-rw-r--r--driver_navcom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver_navcom.c b/driver_navcom.c
index e819e67d..0ae7dac7 100644
--- a/driver_navcom.c
+++ b/driver_navcom.c
@@ -37,7 +37,9 @@
#include <string.h>
#include <math.h>
#include <ctype.h>
+#ifndef S_SPLINT_S
#include <unistd.h>
+#endif /* S_SPLINT_S */
#include <time.h>
#include <sys/types.h>
#include <inttypes.h>