summaryrefslogtreecommitdiffstats
path: root/dimension/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/platform.c')
-rw-r--r--dimension/platform.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dimension/platform.c b/dimension/platform.c
index 06c74bc..f926ea7 100644
--- a/dimension/platform.c
+++ b/dimension/platform.c
@@ -18,10 +18,11 @@
*************************************************************************/
#include "platform.h"
-
+#if HAVE_UNISTD_H
+ #include <unistd.h>
+#endif
#if DMNSN_TIOCGWINSZ
#include <sys/ioctl.h>
- #include <unistd.h>
#endif
unsigned int