aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoshua Peraza <jperaza@chromium.org>2017-10-06 10:05:38 -0700
committerJoshua Peraza <jperaza@chromium.org>2017-10-06 18:19:40 +0000
commit1c3f8d100238029ec47444e75d4ba412cb9471f3 (patch)
tree13922c47d26d8db58f3bf9a8a6fa8be09fa3b96f /src
parentFix minidump_dump_test after 6d0287851fab (diff)
downloadbreakpad-1c3f8d100238029ec47444e75d4ba412cb9471f3.tar.xz
Android: Use sys/types.h instead of stdint.h for sys/user.h
When using traditional headers, sys/types.h is needed to define __u64 for sys/user.h. Previously, we thought this would be provided by stdint.h, but it is not. Change-Id: I0e648712f4ef1e303104a5264d3d2d0b218f5d45 Reviewed-on: https://chromium-review.googlesource.com/705267 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/common/android/include/sys/user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/android/include/sys/user.h b/src/common/android/include/sys/user.h
index 8b26eb36..9c27ef02 100644
--- a/src/common/android/include/sys/user.h
+++ b/src/common/android/include/sys/user.h
@@ -40,7 +40,7 @@
// With traditional headers, <sys/user.h> forgot to do this. Unified headers get
// it right.
-#include <stdint.h>
+#include <sys/types.h>
#include_next <sys/user.h>