aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/handler/dynamic_images.h
diff options
context:
space:
mode:
authorqsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-24 14:58:12 +0000
committerqsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-24 14:58:12 +0000
commit09de69eca1bc82fe4851d48baf4af5e9a1b9d0fa (patch)
treef72415ce84145a1aebbcaffe4e62ada073eefa69 /src/client/mac/handler/dynamic_images.h
parentUpstream fix for compiling of breakpad with gcc-4.6. Remove an unnecessary (diff)
downloadbreakpad-09de69eca1bc82fe4851d48baf4af5e9a1b9d0fa.tar.xz
Do not use mach_vm.h on iOS.
mach_vm.h has been removed from iOS5. Use #define to use vm_ replacement of mach_vm_ functions on iOS. Do not use mach_vm_allocate -> use a stack variable instead. Review URL: http://breakpad.appspot.com/321001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@879 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/handler/dynamic_images.h')
-rw-r--r--src/client/mac/handler/dynamic_images.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/mac/handler/dynamic_images.h b/src/client/mac/handler/dynamic_images.h
index d4062ea6..d039eda0 100644
--- a/src/client/mac/handler/dynamic_images.h
+++ b/src/client/mac/handler/dynamic_images.h
@@ -45,6 +45,8 @@
#include <string>
#include <vector>
+#include "mach_vm_compat.h"
+
namespace google_breakpad {
using std::string;