summaryrefslogtreecommitdiff
path: root/src/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat.c')
-rw-r--r--src/cat.c8
1 files changed, 5 insertions, 3 deletions
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 <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"