1 //===-- Time.h --------------------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Include system time headers, adding missing functions as necessary
11 #ifndef liblldb_Host_Time_h_
12 #define liblldb_Host_Time_h_
15 #include <android/api-level.h>
18 #if defined(__ANDROID_API__) && __ANDROID_API__ < 21
20 extern time_t timegm(struct tm *t);
25 #endif // liblldb_Host_Time_h_