Index: lib/lsan/lsan_common_mac.cc =================================================================== --- lib/lsan/lsan_common_mac.cc +++ lib/lsan/lsan_common_mac.cc @@ -24,6 +24,11 @@ #include +// Only introduced in Mac OS X 10.9. +#ifndef VM_MEMORY_OS_ALLOC_ONCE +#define VM_MEMORY_OS_ALLOC_ONCE 73 +#endif + namespace __lsan { typedef struct {