aboutsummaryrefslogtreecommitdiffstats
path: root/com32/rosh
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2010-07-02 20:59:24 -0400
committerGene Cumm <gene.cumm@gmail.com>2010-07-07 10:03:02 -0400
commit731d90fe8ef12762ce352d1c0c66088495933836 (patch)
tree099b1994ebf0ac49966136cefeacf6dcf73e741e /com32/rosh
parent48f7e26dcb3682b8f1c0eab8fae30397151f0706 (diff)
downloadsyslinux-731d90fe8ef12762ce352d1c0c66088495933836.tar.gz
syslinux-731d90fe8ef12762ce352d1c0c66088495933836.tar.xz
syslinux-731d90fe8ef12762ce352d1c0c66088495933836.zip
rosh: move ioctl.h include for Linux-only
Diffstat (limited to 'com32/rosh')
-rw-r--r--com32/rosh/rosh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/rosh/rosh.h b/com32/rosh/rosh.h
index bb768fc7..135087b8 100644
--- a/com32/rosh/rosh.h
+++ b/com32/rosh/rosh.h
@@ -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)