From: Paul Eggert Date: Sat, 9 Jul 2005 07:37:58 +0000 (+0000) Subject: Use only HAVE_SYS_IOCTL_H to decide whether to include sys/ioctl.h. X-Git-Tag: CPPI-1_12~280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bf75032ee4a518616d0e2af818182450db574c6;p=platform%2Fupstream%2Fcoreutils.git Use only HAVE_SYS_IOCTL_H to decide whether to include sys/ioctl.h. --- diff --git a/src/cat.c b/src/cat.c index a7457bc..1972bd9 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"