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
(parent:
db7d10b
)
Include stropt.h if available.
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 8 Jul 2005 22:54:40 +0000
(22:54 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 8 Jul 2005 22:54:40 +0000
(22:54 +0000)
src/ls.c
patch
|
blob
|
history
src/stty.c
patch
|
blob
|
history
diff --git
a/src/ls.c
b/src/ls.c
index
efbd6ef
..
8365e52
100644
(file)
--- a/
src/ls.c
+++ b/
src/ls.c
@@
-60,6
+60,10
@@
#include <getopt.h>
#include <signal.h>
+#if HAVE_STROPT_H
+# include <stropt.h>
+#endif
+
/* Use SA_NOCLDSTOP as a proxy for whether the sigaction machinery is
present. */
#ifndef SA_NOCLDSTOP
diff --git
a/src/stty.c
b/src/stty.c
index
47499ad
..
eabda01
100644
(file)
--- a/
src/stty.c
+++ b/
src/stty.c
@@
-54,6
+54,10
@@
#include <getopt.h>
#include <stdarg.h>
+#if HAVE_STROPT_H
+# include <stropt.h>
+#endif
+
#include "system.h"
#include "error.h"
#include "fd-reopen.h"