Skip to content

fix for zephyr time include - #1144

Merged
ejohnstown merged 1 commit into
wolfSSL:masterfrom
JacobBarthelmeh:zephyr
Aug 5, 2026
Merged

fix for zephyr time include#1144
ejohnstown merged 1 commit into
wolfSSL:masterfrom
JacobBarthelmeh:zephyr

Conversation

@JacobBarthelmeh

Copy link
Copy Markdown
Contributor

Fix for header include after wolfssl wc_port.h changes from wolfSSL/wolfssl#10983

@JacobBarthelmeh JacobBarthelmeh self-assigned this Aug 5, 2026
Copilot AI lite review requested due to automatic review settings August 5, 2026 04:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Zephyr port header handling in wolfSSH to ensure struct timeval is available via an explicit Zephyr POSIX time include, avoiding reliance on transitive includes affected by recent wolfSSL wc_port.h changes.

Changes:

  • Add an explicit include of <zephyr/posix/sys/time.h> for Zephyr builds when CONFIG_POSIX_API is enabled and/or when building on Zephyr >= 4.1.0.
  • Replace the older version-only comment/guard with a clearer rationale tied to transitive-include changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ejohnstown
ejohnstown merged commit 2bc5629 into wolfSSL:master Aug 5, 2026
153 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants