rosh: move ioctl.h include for Linux-only
authorGene Cumm <gene.cumm@gmail.com>
Sat, 3 Jul 2010 00:59:24 +0000 (20:59 -0400)
committerGene Cumm <gene.cumm@gmail.com>
Wed, 7 Jul 2010 14:03:02 +0000 (10:03 -0400)
com32/rosh/rosh.h

index bb768fc..135087b 100644 (file)
@@ -43,7 +43,6 @@
 
 #include <getkey.h>
 #include <consoles.h>          /* console_ansi_raw() console_ansi_std() */
-#include <sys/ioctl.h>
 
 #ifdef DO_DEBUG
 # define ROSH_DEBUG    printf
@@ -93,6 +92,7 @@ int stat(const char *pathname, struct stat *buf)
 
 #else
 #  include <termios.h>
+#  include <sys/ioctl.h>
 #  define ROSH_IS_COM32        0
 
 static inline char *syslinux_config_file(void)