mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
hurd: [!__USE_MISC] Do not #undef BSD macros in ioctls
When e.g. including termios.h first and then sys/ioctl.h, without e.g. _BSD_SOURCE, the latter would #undef e.g. ECHO, without defining it.
This commit is contained in:
parent
4e16d89866
commit
2fb85a3787
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
/* These macros are also defined in <bits/termios.h> (with numerically
|
||||
identical values) but this serves to shut up cpp's complaining. */
|
||||
|
||||
#ifdef __USE_MISC
|
||||
#ifdef NL0
|
||||
# undef NL0
|
||||
#endif
|
||||
|
@ -82,6 +83,7 @@
|
|||
#ifdef NOFLSH
|
||||
# undef NOFLSH
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Hurd ioctl request are made up of several fields:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue