1 // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 2 #ifndef LIBPLDM_ENVIRON_TIME_H 3 #define LIBPLDM_ENVIRON_TIME_H 4 #include <sys/time.h> 5 #include <time.h> 6 7 /** @brief Weak symbol wrapping clock_gettime() */ 8 int libpldm_clock_gettime(clockid_t clockid, struct timespec *ts); 9 10 #endif 11