Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1d6fd0

Browse files
committed
cli: include alloca on illumos / solaris / sunos
1 parent 5f796f8 commit b1d6fd0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cli/opt.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
#include <limits.h>
2020
#include <assert.h>
2121

22+
#if defined(__sun) || defined(__illumos__)
23+
# include <alloca.h>
24+
#endif
25+
2226
#include "common.h"
2327
#include "opt.h"
2428

0 commit comments

Comments
 (0)