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 efbd6ef..8365e52 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 47499ad..eabda01 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"