Skip to content

Commit

Permalink
include alloca.h on illumos / solaris / sunos
Browse files Browse the repository at this point in the history
  • Loading branch information
ethomson committed May 13, 2024
1 parent 9499ca6 commit 65159cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions adopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
#include <limits.h>
#include <assert.h>

#if defined(__sun) || defined(__illumos__)
# include <alloca.h>
#endif

#include "adopt.h"

#ifdef _WIN32
Expand Down

0 comments on commit 65159cc

Please sign in to comment.