[Mplayer-cvslog] CVS: main/linux getch2.c,1.9,1.10

Alex Beregszaszi alex at mplayer.dev.hu
Mon Dec 3 16:22:07 CET 2001


Update of /cvsroot/mplayer/main/linux
In directory mplayer:/var/tmp.root/cvs-serv16879

Modified Files:
	getch2.c 
Log Message:
detect termios.h if no sys/termios.h (qnx getch2 support working)

Index: getch2.c
===================================================================
RCS file: /cvsroot/mplayer/main/linux/getch2.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- getch2.c	20 Nov 2001 00:23:49 -0000	1.9
+++ getch2.c	3 Dec 2001 15:22:03 -0000	1.10
@@ -16,9 +16,16 @@
 #ifdef USE_IOCTL
 #include <sys/ioctl.h>
 #endif
+
 #ifdef HAVE_TERMIOS
+#ifdef HAVE_TERMIOS_H
+#include <termios.h>
+#endif
+#ifdef HAVE_TERMIOS_SYS_H 
 #include <sys/termios.h>
 #endif
+#endif
+
 #include <unistd.h>
 
 #include "keycodes.h"




More information about the MPlayer-cvslog mailing list