From 9c0fbfd2eb3ae7a88099db86b7e21c2e7e5c8909 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 19 Sep 2024 14:06:51 -0700 Subject: [PATCH] gstreamer: netclock-replay: use gst_c_args when building MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Need HAVE_CONFIG_H to avoid build failure on Solaris 11.4 with gcc 14.1: ../subprojects/gstreamer/tests/misc/../../libs/gst/net/gstnetutils.c:71:7: error: implicit declaration of function ‘setsockopt’ [-Wimplicit-function-declaration] 71 | if (setsockopt (fd, IPPROTO_IP, IP_TOS, &tos, sizeof (tos)) < 0) { | ^~~~~~~~~~ Signed-off-by: Alan Coopersmith Part-of: --- subprojects/gstreamer/tests/misc/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gstreamer/tests/misc/meson.build b/subprojects/gstreamer/tests/misc/meson.build index 82140436d5..b67911828d 100644 --- a/subprojects/gstreamer/tests/misc/meson.build +++ b/subprojects/gstreamer/tests/misc/meson.build @@ -1,3 +1,4 @@ executable('netclock-replay', 'netclock-replay.c', + c_args : gst_c_args, include_directories: libsinc, dependencies : [gio_dep, gst_dep, network_deps])