aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/breakpad_getcontext_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/linux/breakpad_getcontext_unittest.cc')
-rw-r--r--src/common/linux/breakpad_getcontext_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/linux/breakpad_getcontext_unittest.cc b/src/common/linux/breakpad_getcontext_unittest.cc
index 573ddd88..5b340eb7 100644
--- a/src/common/linux/breakpad_getcontext_unittest.cc
+++ b/src/common/linux/breakpad_getcontext_unittest.cc
@@ -29,6 +29,10 @@
// asm/sigcontext.h can't be included with signal.h on glibc or
// musl, so only compare _libc_fpstate and _fpstate on Android.
#if defined(__ANDROID__) && defined(__x86_64__)
+#ifdef HAVE_CONFIG_H
+#include <config.h> // Must come first
+#endif
+
#include <asm/sigcontext.h>
#endif