fix regression in ioctl definitions provided by arch/generic bits

commit b60fdf133c broke the
SIOCGSTAMP[NS] ioctl fallbacks introduced in commit
2e554617e5, as well as use of these
ioctls, by creating a situation where bits/ioctl.h could be included
without __LONG_MAX being visible.
This commit is contained in:
Rich Felker 2019-12-18 18:03:43 -05:00
parent 114178dc8d
commit b329095650
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
extern "C" {
#endif
#include <bits/alltypes.h>
#include <bits/ioctl.h>
#define N_TTY 0