mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Use only HAVE_SYS_IOCTL_H to decide whether to include sys/ioctl.h.
stropt.h -> stropts.h
This commit is contained in:
1 parent
8bf75032ee
commit
8d51efbab1
1 file changed
+4
-6
@@ -42,8 +42,10 @@
|
||||
#if HAVE_TERMIOS_H
|
||||
# include <termios.h>
|
||||
#endif
|
||||
|
||||
#ifdef GWINSZ_IN_SYS_IOCTL
|
||||
#if HAVE_STROPTS_H
|
||||
# include <stropts.h>
|
||||
#endif
|
||||
#if HAVE_SYS_IOCTL_H
|
||||
# include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
@@ -60,10 +62,6 @@
|
||||
#include <getopt.h>
|
||||
#include <signal.h>
|
||||
|
||||
#if HAVE_STROPT_H
|
||||
# include <stropt.h>
|
||||
#endif
|
||||
|
||||
/* Use SA_NOCLDSTOP as a proxy for whether the sigaction machinery is
|
||||
present. */
|
||||
#ifndef SA_NOCLDSTOP
|
||||
|
||||
Reference in new issue
Block a user