From 137c1c2208d475ef21559109e303b8152c37dbec Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 8 Jul 2005 22:54:40 +0000 Subject: Include stropt.h if available. --- src/ls.c | 4 ++++ src/stty.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/ls.c b/src/ls.c index efbd6ef60..8365e5286 100644 --- a/src/ls.c +++ b/src/ls.c @@ -60,6 +60,10 @@ #include #include +#if HAVE_STROPT_H +# include +#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 #include +#if HAVE_STROPT_H +# include +#endif + #include "system.h" #include "error.h" #include "fd-reopen.h" -- cgit v1.2.3-70-g09d2