FIXME: libsctp: add define HAVE_NETINET_SCTP_H to allow build on debian bullseye

This is a quick fix. Need to investigate why the autodetect doesn't work
or the compilation otherwise fails.
This commit is contained in:
root 2022-06-14 21:56:22 +00:00 committed by Alexander Couzens
parent 1983d9d7a7
commit c1e0dee55b
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ if host_system == 'darwin'
libsctp_sources += files('ogs-usrsctp.c')
libsctp_conf.set('HAVE_USRSCTP', 1)
else
libsctp_conf.set('HAVE_NETINET_SCTP_H', 1)
sctp_dep = cc.find_library('sctp', required : false)
libsctp_sources += files('ogs-lksctp.c')
endif