diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-10-14 12:59:45 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-10-14 12:59:45 +0000 |
commit | 6f100d04b0faec0d809e5d244493cb56ba9de348 (patch) | |
tree | 07fee816d19290e62ec90fd3ed67068f78b3f126 /sysdeps | |
parent | 6c4b6e6ec305ac212314c7a7a7469e47ce187798 (diff) | |
download | glibc-6f100d04b0faec0d809e5d244493cb56ba9de348.tar.gz glibc-6f100d04b0faec0d809e5d244493cb56ba9de348.tar.xz glibc-6f100d04b0faec0d809e5d244493cb56ba9de348.zip |
Update. glibc-2.0.98 cvs/glibc-2_0_98
* sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios here instead of including kernel_termios.h.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/ioctls.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/ioctls.h b/sysdeps/unix/sysv/linux/alpha/bits/ioctls.h index dcbf9f4402..a30035cee5 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/ioctls.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/ioctls.h @@ -22,7 +22,20 @@ /* Use the definitions from the kernel header files. */ #include <asm/ioctls.h> -#include <kernel_termios.h> + +/* We need the kernel definition of the `termios' struct. */ +#define __KERNEL_NCCS 19 +struct __kernel_termios + { + tcflag_t c_iflag; /* input mode flags */ + tcflag_t c_oflag; /* output mode flags */ + tcflag_t c_cflag; /* control mode flags */ + tcflag_t c_lflag; /* local mode flags */ + cc_t c_cc[__KERNEL_NCCS]; /* control characters */ + cc_t c_line; /* line discipline */ + speed_t c_ispeed; /* input speed */ + speed_t c_ospeed; /* output speed */ + }; /* Oh well, this is necessary since the kernel data structure is different from the user-level version. */ |