aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/getopt_long.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wsutil/getopt_long.c b/wsutil/getopt_long.c
index 3b19fe6c32..3e2a9bce5e 100644
--- a/wsutil/getopt_long.c
+++ b/wsutil/getopt_long.c
@@ -64,6 +64,14 @@
# define _(msgid) (msgid)
#endif
+/*
+ * If we have alloca.h, we assume we need it.
+ */
+#
+#ifdef HAVE_ALLOCA_H
+# include <alloca.h>
+#endif
+
#ifdef _WIN32
# define alloca _alloca
#endif