Fix Android x86_64 build when using traditional headers

Bug: crashpad:30
Change-Id: I4b4e478bb3811fd5d9d66d98a4ecc811be3ea129
Reviewed-on: https://chromium-review.googlesource.com/703689
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Joshua Peraza 2017-10-05 14:42:53 -07:00 committed by Commit Bot
parent 93c88d87f0
commit 6de7ad8a22

23
compat/android/sys/user.h Normal file
View File

@ -0,0 +1,23 @@
// Copyright 2017 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef CRASHPAD_COMPAT_ANDROID_SYS_USER_H_
#define CRASHPAD_COMPAT_ANDROID_SYS_USER_H_
// This is needed for traditional headers.
#include <sys/types.h>
#include_next <sys/user.h>
#endif // CRASHPAD_COMPAT_ANDROID_SYS_USER_H_