Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
6e01935d by Brad Smith at 2025-02-16T08:11:34+00:00
meson: fix detecting some headers on OpenBSD

Check usable header "netinet/tcp.h" : NO
Check usable header "sys/mount.h" : NO

The headers in question need sys/types.h included as well.

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -244,7 +244,7 @@ check_c_headers = [
     ['stdckdint.h'],
     ['arpa/inet.h'],
     ['threads.h'],
-    ['netinet/tcp.h'],
+    ['netinet/tcp.h', { 'prefix' : ['#include <sys/types.h>'] }],
     ['search.h'],
     ['sys/uio.h'],
     ['sys/socket.h'],
@@ -259,7 +259,7 @@ check_c_headers = [
     ['poll.h'],
     ['sys/auxv.h'],
     ['sys/eventfd.h'],
-    ['sys/mount.h'],
+    ['sys/mount.h', { 'prefix' : ['#include <sys/types.h>'] }],
     ['sys/shm.h'],
     ['sys/soundcard.h'],
     ['valgrind/valgrind.h'],



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/6e01935d69ccc64f7c98a935bfb10365a5317180

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/6e01935d69ccc64f7c98a935bfb10365a5317180
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to