Skip to content

Commit

Permalink
threadpool.cc: abort() lives in stdlib.h on FreeBSD (facebook#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjwithagen authored and ajkr committed Jun 6, 2016
1 parent 19dd5a6 commit 0d65ace
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions util/threadpool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
# include <sys/syscall.h>
#endif

#ifdef OS_FREEBSD
# include <stdlib.h>
#endif


namespace rocksdb {

void ThreadPool::PthreadCall(const char* label, int result) {
Expand Down

0 comments on commit 0d65ace

Please sign in to comment.