OSDN Git Service

Include linux/termios.h from sys/ioctl.h.
authorLorenzo Colitti <lorenzo@google.com>
Wed, 3 Jul 2013 02:57:15 +0000 (11:57 +0900)
committerElliott Hughes <enh@google.com>
Wed, 3 Jul 2013 20:35:18 +0000 (13:35 -0700)
commitf936ef1a9f1f77985ca1fae35c1b0dc78e1510c0
tree8dc7beb630070de7db38581631e12e1bba2a31aa
parentd7b0d6e1e157f87887ec2708d6478b8eb2873077
Include linux/termios.h from sys/ioctl.h.

On NetBSD and glibc, including sys/ioctl.h provides some
terminal ioctl data structures such as struct winsize. For
compatibility, provide these via sys/ioctl.h in bionic as well.
bionic does not have its own definitions for these structures, so
get them from the Linux kernel definitions.

Change-Id: I01345c23c0bebd60b0a80fc33668e7c0ad7356c3
libc/include/sys/ioctl.h