summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-12-01 00:32:40 -0500
committerTavian Barnes <tavianator@gmail.com>2010-12-01 00:32:40 -0500
commitad6b0bbd0c100b984d477a5bdb6f26772340c994 (patch)
treebc8a088e473371cabba1d92058af88c40791cd36 /dimension
parent94584e8b20f67a342c625a674590e8bc1aad88cb (diff)
downloaddimension-ad6b0bbd0c100b984d477a5bdb6f26772340c994.tar.xz
Get rid of some <unistd.h> includes.
Diffstat (limited to 'dimension')
-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