commit | fb7782c0299f5019c488f0251763da96b3c194f2 | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@google.com> | Tue Apr 09 17:20:23 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 09 17:20:23 2024 +0000 |
tree | f52fd1f7891d4c4c500cc5c42961fde0f9f2abc2 | |
parent | fb1c6c223a457a8707fdda543ab4bb0457a16d03 [diff] |
pw_tls_client: Only include <sys/time.h> if available <sys/time.h>, gettimeofday and struct timeval are part of POSIX and not available in C standard library. We intentionally avoid POSIX in LLVM libc so if these API aren't available, avoid including them. Bugs: b/316936782 Docs: N/A Change-Id: I4b2de5db6c2f43c0941b597e845a4d3b2891104f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/202555 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Petr Hosek <phosek@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Petr Hosek <phosek@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.