diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-12-01 00:32:40 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-12-01 00:32:40 -0500 |
commit | ad6b0bbd0c100b984d477a5bdb6f26772340c994 (patch) | |
tree | bc8a088e473371cabba1d92058af88c40791cd36 /dimension/platform.c | |
parent | 94584e8b20f67a342c625a674590e8bc1aad88cb (diff) | |
download | dimension-ad6b0bbd0c100b984d477a5bdb6f26772340c994.tar.xz |
Get rid of some <unistd.h> includes.
Diffstat (limited to 'dimension/platform.c')
-rw-r--r-- | dimension/platform.c | 5 |
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 |