projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83f654e
)
Add missing include
author
Sara Golemon
<sgolemon@fb.com>
Thu, 24 Oct 2013 21:40:22 +0000
(14:40 -0700)
committer
Sara Golemon
<sgolemon@fb.com>
Thu, 24 Oct 2013 21:53:41 +0000
(14:53 -0700)
Summary:
MemoryMapping.cpp uses DEFINE_int64() from gflags,
but doesn't include it anywhere.
@override-unit-failures
Test Plan: OSS build failure goes away
Reviewed By: seanc@fb.com
FB internal diff:
D1026364
folly/MemoryMapping.cpp
patch
|
blob
|
history
diff --git
a/folly/MemoryMapping.cpp
b/folly/MemoryMapping.cpp
index 1d926a1df2895749c3d9a4e85e5143f9da40176f..a6f6dd97432d370d8815aeeee14e7d063096dd96 100644
(file)
--- a/
folly/MemoryMapping.cpp
+++ b/
folly/MemoryMapping.cpp
@@
-21,6
+21,7
@@
#include <sys/mman.h>
#include <sys/types.h>
#include <system_error>
+#include <gflags/gflags.h>
DEFINE_int64(mlock_chunk_size, 1 << 20, // 1MB
"Maximum bytes to mlock/munlock/munmap at once "