mirror of https://github.com/facebook/rocksdb.git
Make alloca.h optional
This commit is contained in:
parent
eaa5637568
commit
3f12e16f27
|
@ -15,7 +15,9 @@
|
|||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#ifdef OS_SOLARIS
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <climits>
|
||||
|
|
|
@ -20,7 +20,9 @@
|
|||
#ifndef OS_WIN
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef OS_SOLARIS
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#include "db/filename.h"
|
||||
#include "db/dbformat.h"
|
||||
|
|
Loading…
Reference in New Issue