mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-11 11:51:34 +00:00
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:
parent
a6fa53b7b1
commit
9c0fbfd2eb
1 changed files with 1 additions and 0 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue