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>
This commit is contained in:
Joshua Peraza 2017-10-06 10:05:38 -07:00
parent 0bdf616c7e
commit 1c3f8d1002

View file

@ -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>