Skip to content

Commit 65159cc

Browse files
committed
include alloca.h on illumos / solaris / sunos
1 parent 9499ca6 commit 65159cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

adopt.c

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#include <limits.h>
1313
#include <assert.h>
1414

15+
#if defined(__sun) || defined(__illumos__)
16+
# include <alloca.h>
17+
#endif
18+
1519
#include "adopt.h"
1620

1721
#ifdef _WIN32

0 commit comments

Comments
 (0)