aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-12-07 21:31:00 +0000
committermark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-12-07 21:31:00 +0000
commitbf6d350a68e0014fd40ff040faaeaaba588c4702 (patch)
tree6ec0208a69d0615c90a32ddf20ad579f4e54793f /src
parentAllow StackwalkerARM to scan much farther to find the caller of the context f... (diff)
downloadbreakpad-bf6d350a68e0014fd40ff040faaeaaba588c4702.tar.xz
Explicitly include unistd.h for getpagesize().
Patch by Nico Weber <thakis@chromium.org> Review URL: https://breakpad.appspot.com/502002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1087 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r--src/client/mac/handler/dynamic_images.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/mac/handler/dynamic_images.cc b/src/client/mac/handler/dynamic_images.cc
index efed3887..fbd6dcf0 100644
--- a/src/client/mac/handler/dynamic_images.cc
+++ b/src/client/mac/handler/dynamic_images.cc
@@ -41,6 +41,7 @@ extern "C" { // needed to compile on Leopard
#include <mach/task_info.h>
#include <sys/sysctl.h>
#include <TargetConditionals.h>
+#include <unistd.h>
#include <algorithm>
#include <string>