]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include stropt.h if available.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Jul 2005 22:54:40 +0000 (22:54 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Jul 2005 22:54:40 +0000 (22:54 +0000)
src/ls.c
src/stty.c

index efbd6ef60d51691f18545ba9ebe1c952704a745b..8365e52868834dd67b10f80062beb63dded79e0d 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
 #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
index 47499addcbf4c9926602bdc47c53e750ea85a70f..eabda01c46a099f8775d36d59f75a429d87430bc 100644 (file)
 #include <getopt.h>
 #include <stdarg.h>
 
+#if HAVE_STROPT_H
+# include <stropt.h>
+#endif
+
 #include "system.h"
 #include "error.h"
 #include "fd-reopen.h"