aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/handler/minidump_generator.cc
diff options
context:
space:
mode:
authornealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-04-12 01:16:18 +0000
committernealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-04-12 01:16:18 +0000
commitb0d807666f3ab5af581e4687eba31717bbde86d5 (patch)
treed153190e24bad5b8617e34c4cd8942d819d42449 /src/client/mac/handler/minidump_generator.cc
parentAdd a parameter to CrashGenerationServer to let the callers set the (diff)
downloadbreakpad-b0d807666f3ab5af581e4687eba31717bbde86d5.tar.xz
Issue 254: The problem is that nlist() is compiled out of libc in
64-bit builds of Leopard. I ported the code over myself and will check it into the Breakpad tree until we decide there's a better longer-term solution. If you want to diff the changes, the Apple source is in libc/gen/nlist.c(I used 498 from 10.5.2). git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@259 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/handler/minidump_generator.cc')
-rw-r--r--src/client/mac/handler/minidump_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mac/handler/minidump_generator.cc b/src/client/mac/handler/minidump_generator.cc
index 75812929..1bc4407c 100644
--- a/src/client/mac/handler/minidump_generator.cc
+++ b/src/client/mac/handler/minidump_generator.cc
@@ -36,6 +36,7 @@
#include <mach-o/loader.h>
#include <sys/sysctl.h>
#include <sys/resource.h>
+#include <mach/mach_vm.h>
#include <CoreFoundation/CoreFoundation.h>
@@ -472,7 +473,6 @@ bool MinidumpGenerator::WriteContext(breakpad_thread_state_data_t state,
return true;
}
-
#endif
bool MinidumpGenerator::WriteThreadStream(mach_port_t thread_id,