gstreamer: netclock-replay: use gst_c_args when building

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 <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7553>
This commit is contained in:
Alan Coopersmith 2024-09-19 14:06:51 -07:00 committed by GStreamer Marge Bot
parent a6fa53b7b1
commit 9c0fbfd2eb

View file

@ -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])