File linux-glibc-devel.SuSE.TIOCGDEV.patch of Package linux-glibc-devel

---
 usr/include/asm-arm/ioctls.h     |    1 +
 usr/include/asm-generic/ioctls.h |    1 +
 usr/include/asm-ia64/ioctls.h    |    1 +
 usr/include/asm-parisc/ioctls.h  |    1 +
 usr/include/asm-powerpc/ioctls.h |    1 +
 usr/include/asm-s390/ioctls.h    |    1 +
 usr/include/asm-sparc/ioctls.h   |    1 +
 7 files changed, 7 insertions(+)

Index: usr/include/asm-arm/ioctls.h
===================================================================
--- usr/include/asm-arm/ioctls.h.orig	2010-11-16 16:46:06.000000000 +0100
+++ usr/include/asm-arm/ioctls.h	2010-11-16 17:24:29.381717929 +0100
@@ -52,6 +52,7 @@
 #define TCSETSF2	_IOW('T',0x2D, struct termios2)
 #define TIOCGPTN	_IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
 #define TIOCSPTLCK	_IOW('T',0x31, int)  /* Lock/unlock Pty */
+#define TIOCGDEV        _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
 #define TIOCSIG		_IOW('T',0x36, int)  /* Generate signal on Pty slave */
 
 #define TIOCGRS485      0x542E
Index: usr/include/asm-generic/ioctls.h
===================================================================
--- usr/include/asm-generic/ioctls.h.orig	2010-11-16 16:56:17.000000000 +0100
+++ usr/include/asm-generic/ioctls.h	2010-11-16 17:23:50.110717582 +0100
@@ -65,6 +65,7 @@
 #define TIOCSRS485	0x542F
 #define TIOCGPTN	_IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
 #define TIOCSPTLCK	_IOW('T', 0x31, int)  /* Lock/unlock Pty */
+#define TIOCGDEV	_IOR('T', 0x32, unsigned int) /* Get real dev no below /dev/console */
 #define TCGETX		0x5432 /* SYS5 TCGETX compatibility */
 #define TCSETX		0x5433
 #define TCSETXF		0x5434
Index: usr/include/asm-ia64/ioctls.h
===================================================================
--- usr/include/asm-ia64/ioctls.h.orig	2010-11-16 16:48:56.000000000 +0100
+++ usr/include/asm-ia64/ioctls.h	2010-11-16 17:24:51.373842894 +0100
@@ -59,6 +59,7 @@
 #define TCSETSF2	_IOW('T',0x2D, struct termios2)
 #define TIOCGPTN	_IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
 #define TIOCSPTLCK	_IOW('T',0x31, int)  /* Lock/unlock Pty */
+#define TIOCGDEV        _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
 #define TIOCSIG		_IOW('T',0x36, int)  /* Generate signal on Pty slave */
 
 #define FIONCLEX	0x5450  /* these numbers need to be adjusted. */
Index: usr/include/asm-parisc/ioctls.h
===================================================================
--- usr/include/asm-parisc/ioctls.h.orig	2010-11-16 16:51:44.000000000 +0100
+++ usr/include/asm-parisc/ioctls.h	2010-11-16 17:25:14.147716950 +0100
@@ -52,6 +52,7 @@
 #define TCSETSF2	_IOW('T',0x2D, struct termios2)
 #define TIOCGPTN	_IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
 #define TIOCSPTLCK	_IOW('T',0x31, int)  /* Lock/unlock Pty */
+#define TIOCGDEV        _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
 #define TIOCSIG		_IOW('T',0x36, int)  /* Generate signal on Pty slave */
 
 #define FIONCLEX	0x5450  /* these numbers need to be adjusted. */
Index: usr/include/asm-powerpc/ioctls.h
===================================================================
--- usr/include/asm-powerpc/ioctls.h.orig	2010-11-16 16:52:12.000000000 +0100
+++ usr/include/asm-powerpc/ioctls.h	2010-11-16 17:25:55.673718007 +0100
@@ -94,6 +94,7 @@
 #define TIOCSRS485	0x542f
 #define TIOCGPTN	_IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
 #define TIOCSPTLCK	_IOW('T',0x31, int)  /* Lock/unlock Pty */
+#define TIOCGDEV        _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
 #define TIOCSIG		_IOW('T',0x36, int)  /* Generate signal on Pty slave */
 
 #define TIOCSERCONFIG	0x5453
Index: usr/include/asm-s390/ioctls.h
===================================================================
--- usr/include/asm-s390/ioctls.h.orig	2010-11-16 16:52:44.000000000 +0100
+++ usr/include/asm-s390/ioctls.h	2010-11-16 17:26:18.864718089 +0100
@@ -60,6 +60,7 @@
 #define TCSETSF2	_IOW('T',0x2D, struct termios2)
 #define TIOCGPTN	_IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
 #define TIOCSPTLCK	_IOW('T',0x31, int)  /* Lock/unlock Pty */
+#define TIOCGDEV        _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
 #define TIOCSIG		_IOW('T',0x36, int)  /* Generate signal on Pty slave */
 
 #define FIONCLEX	0x5450  /* these numbers need to be adjusted. */
Index: usr/include/asm-sparc/ioctls.h
===================================================================
--- usr/include/asm-sparc/ioctls.h.orig	2010-11-16 16:54:29.000000000 +0100
+++ usr/include/asm-sparc/ioctls.h	2010-11-16 17:27:37.477717843 +0100
@@ -43,6 +43,7 @@
 #define __TIOCSETX        _IOW('t', 34, int) /* SunOS Specific */
 #define __TIOCGETX        _IOR('t', 35, int) /* SunOS Specific */
 #define TIOCCONS	_IO('t', 36)
+#define TIOCGDEV       _IOW('t', 0x32, unsigned int)
 #define TIOCGSOFTCAR	_IOR('t', 100, int)
 #define TIOCSSOFTCAR	_IOW('t', 101, int)
 #define __TIOCUCNTL       _IOW('t', 102, int) /* SunOS Specific */
openSUSE Build Service is sponsored by