From c1e0dee55bea67cd6e21bceccbda3b5aa8029001 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Jun 2022 21:56:22 +0000 Subject: [PATCH] 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. --- lib/sctp/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sctp/meson.build b/lib/sctp/meson.build index 3eaaa165b..b223ed99f 100644 --- a/lib/sctp/meson.build +++ b/lib/sctp/meson.build @@ -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