Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing includes for FreeBSD 14 in pal_networkstatistics.c #103187

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

Thefrank
Copy link
Contributor

@Thefrank Thefrank commented Jun 8, 2024

This patch is already in ports version of dotnet for FreeBSD.

This PR upstreams the patch with a FreeBSD ifdef

  In file included from /runtime/src/native/libs/System.Native/pal_networkstatistics.c:61:
  /crossrootfs/x64/usr/include/netinet/tcp_var.h:310:17: error: field has incomplete type 'struct callout'
          struct callout t_callout;
                         ^
  /crossrootfs/x64/usr/include/netinet/tcp_var.h:310:9: note: forward declaration of 'struct callout'
          struct callout t_callout;
                 ^
  /crossrootfs/x64/usr/include/netinet/tcp_var.h:471:13: error: field has incomplete type 'struct osd'
          struct osd      t_osd;          /* storage for Khelp module data */
                          ^
  /crossrootfs/x64/usr/include/netinet/tcp_var.h:471:9: note: forward declaration of 'struct osd'
          struct osd      t_osd;          /* storage for Khelp module data */
                 ^

Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@wfurt wfurt left a comment

Choose a reason for hiding this comment

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

LGTM

@wfurt
Copy link
Member

wfurt commented Jun 17, 2024

all test failures are know problems.

@wfurt wfurt merged commit b7d8056 into dotnet:main Jun 17, 2024
105 of 108 checks passed
@Thefrank Thefrank deleted the freebsd14 branch June 17, 2024 18:30
@karelz karelz added this to the 9.0.0 milestone Jun 24, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants