summaryrefslogtreecommitdiff
path: root/src/mi/Lget_reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mi/Lget_reg.c')
-rw-r--r--src/mi/Lget_reg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mi/Lget_reg.c b/src/mi/Lget_reg.c
index effe8a80..6ca62007 100644
--- a/src/mi/Lget_reg.c
+++ b/src/mi/Lget_reg.c
@@ -1,3 +1,11 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
#define UNW_LOCAL_ONLY
#include <libunwind.h>
#if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY)