curl-curl/.github/workflows
Viktor Szakats 6fc703904b
lib: include necessary headers for inet_ntop/inet_pton
Include `netinet/in.h` for FreeBSD/OpenBSD. Also include `sys/socket.h`
just in case, based on earlier code in `tests/libtest/lib1960.c`.

Also:
- document these in `CMakeLists.txt`.
- add a CI job testing FreeBSD with no unity and no test bundles.
  (without running tests to keep it fast)

FreeBSD (autotools):
```
../../../tests/libtest/lib1960.c:66:22: error: variable has incomplete type 'struct sockaddr_in'
   66 |   struct sockaddr_in serv_addr;
      |                      ^
../../../tests/libtest/lib1960.c:66:10: note: forward declaration of 'struct sockaddr_in'
   66 |   struct sockaddr_in serv_addr;
      |          ^
```
Ref: https://github.com/curl/curl/actions/runs/13159721509/job/36725114118?pr=16188#step:3:5289

OpenBSD (cmake):
```
/home/runner/work/curl/curl/tests/libtest/lib1960.c:66:22: error: variable has incomplete type 'struct sockaddr_in'
  struct sockaddr_in serv_addr;
                     ^
/home/runner/work/curl/curl/tests/libtest/lib1960.c:66:10: note: forward declaration of 'struct sockaddr_in'
  struct sockaddr_in serv_addr;
         ^
1 error generated.
```
Ref: https://github.com/curl/curl/actions/runs/13159721509/job/36725102004?pr=16188#step:3:2166

Reported-by: CueXXIII on Github
Fixes #16184
Follow-up to a3585c9576 #15543
Closes #16188
2025-02-05 16:29:03 +01:00
..
appveyor-status.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
checkdocs.yml GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00
checksrc.yml GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00
configure-vs-cmake.yml GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00
curl-for-win.yml GHA/curl-for-win: fix DOCKER_CONTENT_TRUST for a job [ci skip] 2025-01-25 00:42:54 +01:00
distcheck.yml GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00
fuzz.yml CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks 2024-09-16 10:00:17 +02:00
hacktoberfest-accepted.yml GHA: set persist-credentials: false 2024-12-16 18:00:22 +01:00
http3-linux.yml GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00
label.yml GHA: tidy up quotes, checkout order, silence Android/CMake warnings 2025-01-19 15:03:16 +01:00
linux-old.yml GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00
linux.yml build: drop macro used to enable -Wsign-conversion warnings in CI 2025-02-03 22:28:08 +01:00
macos.yml GHA: fixup CM/AM order within Apple steps, move name: first, quote them 2025-01-26 15:18:59 +01:00
non-native.yml lib: include necessary headers for inet_ntop/inet_pton 2025-02-05 16:29:03 +01:00
windows.yml GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00