threadpool.cc: abort() lives in stdlib.h on FreeBSD (#1155)

This commit is contained in:
Willem Jan Withagen 2016-06-06 02:23:38 +02:00 committed by Andrew Kryczka
parent 19dd5a61cd
commit 0d65acec0c

View File

@ -19,6 +19,11 @@
# include <sys/syscall.h> # include <sys/syscall.h>
#endif #endif
#ifdef OS_FREEBSD
# include <stdlib.h>
#endif
namespace rocksdb { namespace rocksdb {
void ThreadPool::PthreadCall(const char* label, int result) { void ThreadPool::PthreadCall(const char* label, int result) {