From 65159ccf15d2abb706560a04fd8355b48c966e21 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 13 May 2024 10:18:21 +0100 Subject: [PATCH] include alloca.h on illumos / solaris / sunos --- adopt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/adopt.c b/adopt.c index cceb73e..e48afe7 100644 --- a/adopt.c +++ b/adopt.c @@ -12,6 +12,10 @@ #include #include +#if defined(__sun) || defined(__illumos__) +# include +#endif + #include "adopt.h" #ifdef _WIN32