aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-08-16 20:20:31 +0000
committerladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-08-16 20:20:31 +0000
commit7d8a79b3e9d102ce49aa9655bf06985aec2c0188 (patch)
tree2895ffae68cc5a38293e27679624b12bff86817a /src/common
parentIssue 197: reviewed by Waylonis (diff)
downloadbreakpad-7d8a79b3e9d102ce49aa9655bf06985aec2c0188.tar.xz
Issue 197: reviewed by Waylonis
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@200 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mac/macho_walker.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/common/mac/macho_walker.cc b/src/common/mac/macho_walker.cc
index 9f56701b..dd2c3b39 100644
--- a/src/common/mac/macho_walker.cc
+++ b/src/common/mac/macho_walker.cc
@@ -33,13 +33,15 @@
//
// Author: Dan Waylonis
-#include <assert.h>
-#include <fcntl.h>
-#include <mach-o/arch.h>
-#include <mach-o/loader.h>
-#include <mach-o/swap.h>
-#include <string.h>
-#include <unistd.h>
+extern "C" { // necessary for Leopard
+ #include <assert.h>
+ #include <fcntl.h>
+ #include <mach-o/arch.h>
+ #include <mach-o/loader.h>
+ #include <mach-o/swap.h>
+ #include <string.h>
+ #include <unistd.h>
+}
#include "common/mac/macho_walker.h"
#include "common/mac/macho_utilities.h"