aboutsummaryrefslogtreecommitdiff
path: root/src/common/android/include
diff options
context:
space:
mode:
authorMark Mentovai <mark@chromium.org>2017-09-20 14:49:50 -0400
committerMark Mentovai <mark@chromium.org>2017-09-20 19:34:39 +0000
commit1c6d1613966eab5d77531e85f3b60c40124b43f0 (patch)
tree238ee9748f494f98c28af0e278c92889598bbe5a /src/common/android/include
parentReplace remaining references to 'struct ucontext' with 'ucontext_t' (diff)
downloadbreakpad-1c6d1613966eab5d77531e85f3b60c40124b43f0.tar.xz
Restore missing #include <stdint.h> to Android <sys/user.h>
This was lost in afa9c52715db, but it turns out that it’s still necessary. Bug: google-breakpad:733 Change-Id: I4e0e4e4d2e80c22df1ff6b82e471905773c940a3 Reviewed-on: https://chromium-review.googlesource.com/675732 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
Diffstat (limited to 'src/common/android/include')
-rw-r--r--src/common/android/include/sys/user.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/android/include/sys/user.h b/src/common/android/include/sys/user.h
index 5a9ba053..8b26eb36 100644
--- a/src/common/android/include/sys/user.h
+++ b/src/common/android/include/sys/user.h
@@ -38,6 +38,10 @@
// TODO(primiano): remove these changes after Chromium has stably rolled to
// an NDK with the appropriate fixes. https://crbug.com/358831
+// With traditional headers, <sys/user.h> forgot to do this. Unified headers get
+// it right.
+#include <stdint.h>
+
#include_next <sys/user.h>
#include <android/api-level.h>