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

curl_setup: fix missing ADDRESS_FAMILY type in rare build cases #15969

Closed
wants to merge 2 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Jan 11, 2025

Build failed when both ADDRESS_FAMILY and sockaddr_un stuct were
missing from the Windows SDK, with UnixSockets enabled.

Seen with GNU 4.4.0 in CeGCC 0.59.1:

lib/curl_setup.h:983: error: expected specifier-qualifier-list before 'ADDRESS_FAMILY'
lib/curl_setup.h:985: warning: struct has no members

Also reported with VS2003:
https://datagirl.xyz/posts/wolfssl_curl_w2k.html

@vszakats vszakats added build Windows Windows-specific labels Jan 11, 2025
@vszakats vszakats changed the title curl_setup: fix missing ADDRESS_FAMILY reference in rare build cases curl_setup: fix missing ADDRESS_FAMILY type in rare build cases Jan 11, 2025
@vszakats vszakats closed this in 81680a4 Jan 11, 2025
@vszakats vszakats deleted the unset-ADDRESS_FAMILY branch January 11, 2025 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Windows Windows-specific
Development

Successfully merging this pull request may close these issues.

3 participants