Make alloca.h optional

main
David Bernard 9 years ago
parent eaa5637568
commit 3f12e16f27
  1. 2
      db/db_impl.cc
  2. 2
      db/db_test.cc

@ -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…
Cancel
Save