aboutsummaryrefslogtreecommitdiff
path: root/src/common/mac
diff options
context:
space:
mode:
authorladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-08-16 20:19:45 +0000
committerladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-08-16 20:19:45 +0000
commit8aef89f021c687e96c66cb99b5dac312324e785c (patch)
tree38cf27af3dfb1563d5e988e92d6d9790ab30969c /src/common/mac
parentSolaris port of minidump generator. Port by Alfred Peng. r=me (diff)
downloadbreakpad-8aef89f021c687e96c66cb99b5dac312324e785c.tar.xz
Issue 197: reviewed by Waylonis
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@199 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/mac')
-rw-r--r--src/common/mac/macho_id.cc24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/common/mac/macho_id.cc b/src/common/mac/macho_id.cc
index 728bd47e..160f6ed7 100644
--- a/src/common/mac/macho_id.cc
+++ b/src/common/mac/macho_id.cc
@@ -33,17 +33,19 @@
//
// Author: Dan Waylonis
-#include <fcntl.h>
-#include <mach-o/loader.h>
-#include <mach-o/swap.h>
-#include <openssl/md5.h>
-#include <openssl/sha.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <unistd.h>
+extern "C" { // necessary for Leopard
+ #include <fcntl.h>
+ #include <mach-o/loader.h>
+ #include <mach-o/swap.h>
+ #include <openssl/md5.h>
+ #include <openssl/sha.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+}
#include "common/mac/macho_id.h"
#include "common/mac/macho_walker.h"