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:
parent
1983d9d7a7
commit
c1e0dee55b
|
@ -46,6 +46,7 @@ if host_system == 'darwin'
|
||||||
libsctp_sources += files('ogs-usrsctp.c')
|
libsctp_sources += files('ogs-usrsctp.c')
|
||||||
libsctp_conf.set('HAVE_USRSCTP', 1)
|
libsctp_conf.set('HAVE_USRSCTP', 1)
|
||||||
else
|
else
|
||||||
|
libsctp_conf.set('HAVE_NETINET_SCTP_H', 1)
|
||||||
sctp_dep = cc.find_library('sctp', required : false)
|
sctp_dep = cc.find_library('sctp', required : false)
|
||||||
libsctp_sources += files('ogs-lksctp.c')
|
libsctp_sources += files('ogs-lksctp.c')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue