aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/dwarf/dwarf2reader.cc1
-rw-r--r--src/common/dwarf/types.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/common/dwarf/dwarf2reader.cc b/src/common/dwarf/dwarf2reader.cc
index fadce485..b4e61133 100644
--- a/src/common/dwarf/dwarf2reader.cc
+++ b/src/common/dwarf/dwarf2reader.cc
@@ -39,6 +39,7 @@
#include <string.h>
#include <map>
+#include <memory>
#include <stack>
#include <utility>
diff --git a/src/common/dwarf/types.h b/src/common/dwarf/types.h
index 08a325aa..61ca4579 100644
--- a/src/common/dwarf/types.h
+++ b/src/common/dwarf/types.h
@@ -33,6 +33,8 @@
#ifndef _COMMON_DWARF_TYPES_H__
#define _COMMON_DWARF_TYPES_H__
+#include <stdint.h>
+
typedef signed char int8;
typedef short int16;
typedef int int32;