diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-08 22:54:40 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-08 22:54:40 +0000 |
commit | 137c1c2208d475ef21559109e303b8152c37dbec (patch) | |
tree | 409c3440dbdeb82f4d30156295952c7519857697 /src | |
parent | db7d10bd9d755f4dfbd45aac780bca6b9dd10626 (diff) | |
download | coreutils-137c1c2208d475ef21559109e303b8152c37dbec.tar.xz |
Include stropt.h if available.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 4 | ||||
-rw-r--r-- | src/stty.c | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -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 47499addc..eabda01c4 100644 --- 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" |