aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-04-05 19:54:48 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-04-05 19:54:48 +0000
commitc0ec51afe09c266c49dfeb2dd079ca6c50f119d2 (patch)
tree919fd438c0887d64e0e86aae2221b775a1f792db
parentBreakpad symbol dumper: Move Linux dumping classes into src/common. (diff)
downloadbreakpad-c0ec51afe09c266c49dfeb2dd079ca6c50f119d2.tar.xz
Include what you use.
Patch by Adam Langley <agl@chromium.org>. r=me git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@568 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r--src/common/dwarf/functioninfo.cc3
-rw-r--r--src/tools/linux/symupload/sym_upload.cc1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/dwarf/functioninfo.cc b/src/common/dwarf/functioninfo.cc
index 69304c86..d8ab7da9 100644
--- a/src/common/dwarf/functioninfo.cc
+++ b/src/common/dwarf/functioninfo.cc
@@ -30,10 +30,13 @@
// information from the debug info.
#include <assert.h>
+#include <limits.h>
+#include <stdio.h>
#include <map>
#include <queue>
#include <vector>
+#include <memory>
#include "common/dwarf/functioninfo.h"
diff --git a/src/tools/linux/symupload/sym_upload.cc b/src/tools/linux/symupload/sym_upload.cc
index 4e4da065..bd040519 100644
--- a/src/tools/linux/symupload/sym_upload.cc
+++ b/src/tools/linux/symupload/sym_upload.cc
@@ -40,6 +40,7 @@
// symbol_file: the contents of the breakpad-format symbol file
#include <unistd.h>
+#include <stdlib.h>
#include <cstdio>
#include <cassert>