diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-09 07:37:58 +0000 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-09 07:37:58 +0000 |
| commit | 8bf75032ee4a518616d0e2af818182450db574c6 (patch) | |
| tree | 3a0828af9f372c68d3218b2a7a95fbe2095113d8 /src/cat.c | |
| parent | strtopt.h -> stropts.h (diff) | |
| download | coreutils-8bf75032ee4a518616d0e2af818182450db574c6.tar.gz coreutils-8bf75032ee4a518616d0e2af818182450db574c6.zip | |
Use only HAVE_SYS_IOCTL_H to decide whether to include sys/ioctl.h.
Diffstat (limited to 'src/cat.c')
| -rw-r--r-- | src/cat.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -27,12 +27,14 @@ #include <stdio.h> #include <getopt.h> #include <sys/types.h> -#if HAVE_STROPT_H -# include <stropt.h> + +#if HAVE_STROPTS_H +# include <stropts.h> #endif -#if HAVE_FIONREAD_IN_SYS_IOCTL +#if HAVE_SYS_IOCTL_H # include <sys/ioctl.h> #endif + #include "system.h" #include "error.h" #include "full-write.h" |
