Fixed a compile error in util/arena.h

Summary:
Fixed the compile error in util/arena.h caused by not
including TLB related header.

Test Plan: make db_stress

Reviewers: igor, sdong, anthony, IslamAbdelRahman

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D47697
main
Yueh-Hsuan Chiang 9 years ago
parent 0fdb4f1688
commit e4861e7d68
  1. 3
      util/arena.h

@ -12,6 +12,9 @@
// size, it uses malloc to directly get the requested size. // size, it uses malloc to directly get the requested size.
#pragma once #pragma once
#ifndef OS_WIN
#include <sys/mman.h>
#endif
#include <cstddef> #include <cstddef>
#include <cerrno> #include <cerrno>
#include <vector> #include <vector>

Loading…
Cancel
Save