[syslinux:master] rosh: move ioctl.h include for Linux-only

syslinux-bot for Gene Cumm gene.cumm at gmail.com
Fri Oct 8 13:57:16 PDT 2010


Commit-ID:  731d90fe8ef12762ce352d1c0c66088495933836
Gitweb:     http://syslinux.zytor.com/commit/731d90fe8ef12762ce352d1c0c66088495933836
Author:     Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Fri, 2 Jul 2010 20:59:24 -0400
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Wed, 7 Jul 2010 10:03:02 -0400

rosh: move ioctl.h include for Linux-only



---
 com32/rosh/rosh.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/com32/rosh/rosh.h b/com32/rosh/rosh.h
index bb768fc..135087b 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)



More information about the Syslinux-commits mailing list