Skip to content

Changes

Started by upstream project gerrit-libosmo-netif #779
Started 1 day 5 hr ago
Queued 2 min 52 sec

Summary

  1. stream: make SCTP usage conditional on HAVE_LIBSCTP (details)
Commit 2f07db7af5eddc84e175a0066f30f2c28158e559 by dtv.comp
stream: make SCTP usage conditional on HAVE_LIBSCTP

Guard SCTP-specific includes and code paths with HAVE_LIBSCTP to
allow building libosmo-netif without libsctp support.

This avoids unconditional inclusion of <osmocom/netif/sctp.h> and
ensures that SCTP-specific variables and send paths are only compiled
when SCTP support is enabled.

No functional change when HAVE_LIBSCTP is defined.

Change-Id: I07ef25f3fcc39f9bee023d9264a72c4381b82b65
The file was modifiedsrc/stream_srv.c
The file was modifiedsrc/stream_cli.c
The file was modifiedsrc/stream.c