Index: sandbox/linux/seccomp-bpf/linux_seccomp.h |
diff --git a/sandbox/linux/seccomp-bpf/linux_seccomp.h b/sandbox/linux/seccomp-bpf/linux_seccomp.h |
index 270e11c1f8f79b88bbaee65004b222a8ab336cae..b3d7a554fa9d1cc21c7a5365a331c6a71f733d0c 100644 |
--- a/sandbox/linux/seccomp-bpf/linux_seccomp.h |
+++ b/sandbox/linux/seccomp-bpf/linux_seccomp.h |
@@ -21,6 +21,7 @@ |
// longer need to support these old Bionic versions. |
// All x86_64 builds use a new enough bionic to have sys/user.h. |
#if !defined(__BIONIC__) || defined(__x86_64__) |
+#include <sys/types.h> // Fix for gcc 4.7, make sure __uint16_t is defined. |
#include <sys/user.h> |
#endif |