pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/34855?usp=email )


Change subject: socket.c: Fix compilation with --disable-libsctp
......................................................................

socket.c: Fix compilation with --disable-libsctp

Fixes: 64ba9edf173cc16f9d94c94a423a8b7a5904efaf
Related: OS#6234
Change-Id: I988d01461822d18b7350a6e69e3b504f7fd5b84f
---
M src/core/socket.c
1 file changed, 13 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/55/34855/1

diff --git a/src/core/socket.c b/src/core/socket.c
index 2de3131..fa5fb88 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -1257,6 +1257,7 @@
        return osmo_sock_init(ss->sa_family, type, proto, host, port, flags);
 }

+#ifdef HAVE_LIBSCTP
 /*! Add addresses to the multi-address (SCTP) socket active binding set
  *  \param[in] sfd The multi-address (SCTP) socket
  *  \param[in] addrs array of char pointers (strings), each containing local 
host name or IP address in string form
@@ -1408,6 +1409,7 @@
                freeaddrinfo(res[i]);
        return rc;
 }
+#endif /* HAVE_LIBSCTP */

 static int sockaddr_equal(const struct sockaddr *a,
                          const struct sockaddr *b, unsigned int len)

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34855?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I988d01461822d18b7350a6e69e3b504f7fd5b84f
Gerrit-Change-Number: 34855
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to