projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9e9532c
)
Use only HAVE_SYS_IOCTL_H to decide whether to include sys/ioctl.h.
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 9 Jul 2005 07:37:58 +0000
(07:37 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 9 Jul 2005 07:37:58 +0000
(07:37 +0000)
src/cat.c
patch
|
blob
|
history
diff --git
a/src/cat.c
b/src/cat.c
index
a7457bc
..
1972bd9
100644
(file)
--- 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"