summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c4
1 files changed, 4 insertions, 0 deletions
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 <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