diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2019-08-20 23:16:18 +0300 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2019-09-30 19:25:00 +0200 |
commit | 7ed8c421f71f89978da0ba30b19df245c7c02e39 (patch) | |
tree | 09949d3384d0a79fff880fde29bfa120c1cf9fe9 /libc/misc/time/wcsftime.c | |
parent | 8bcbb7f3188e3322d6063343ada991b29198092d (diff) |
PowerPC: Fix termios definitions
This patch fixes the incorrect guard by __USE_MISC of struct winsize and
struct termio in powerpc termios header. Current states leads to build
failures if the program defines _XOPEN_SOURCE, but not _DEFAULT_SOURCE
or either _BSD_SOURCE or _SVID_SOURCE. Without any definition,
__USE_MISC will not be defined and neither the struct definitions.
This patch copies the default Linux ioctl-types.h by adjusting only the
character control field (c_cc) size in struct termio.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
[Vadim: adopted for uclibc ]
Diffstat (limited to 'libc/misc/time/wcsftime.c')
0 files changed, 0 insertions, 0 deletions