mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Merge pull request #6813 from libgit2/ethomson/opt_alloc
cli: include alloca on illumos / solaris / sunos
This commit is contained in:
@@ -19,6 +19,10 @@
|
||||
#include <limits.h>
|
||||
#include <assert.h>
|
||||
|
||||
#if defined(__sun) || defined(__illumos__)
|
||||
# include <alloca.h>
|
||||
#endif
|
||||
|
||||
#include "common.h"
|
||||
#include "opt.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user