From 8bf75032ee4a518616d0e2af818182450db574c6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 9 Jul 2005 07:37:58 +0000 Subject: Use only HAVE_SYS_IOCTL_H to decide whether to include sys/ioctl.h. --- src/cat.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cat.c b/src/cat.c index a7457bc96..1972bd908 100644 --- a/src/cat.c +++ b/src/cat.c @@ -27,12 +27,14 @@ #include #include #include -#if HAVE_STROPT_H -# include + +#if HAVE_STROPTS_H +# include #endif -#if HAVE_FIONREAD_IN_SYS_IOCTL +#if HAVE_SYS_IOCTL_H # include #endif + #include "system.h" #include "error.h" #include "full-write.h" -- cgit v1.2.3-54-g00ecf