From: Paul Eggert Date: Fri, 8 Jul 2005 22:54:40 +0000 (+0000) Subject: Include stropt.h if available. X-Git-Tag: CPPI-1_12~290 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=137c1c2208d475ef21559109e303b8152c37dbec;p=thirdparty%2Fcoreutils.git Include stropt.h if available. --- diff --git a/src/ls.c b/src/ls.c index efbd6ef60d..8365e52868 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 47499addcb..eabda01c46 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"