Mercurial > hg > freeDiameter
comparison libfdcore/sctp.c @ 1474:732e0f76dbfb
Fix build on Debian Stable.
From Rick van Rein via
https://github.com/arpa2/docker-demo/blob/master/build-diameter/fd-132-oldapi.patch
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Sun, 22 Mar 2020 19:56:19 +0100 |
parents | b75556f40346 |
children | acbfec3df281 |
comparison
equal
deleted
inserted
replaced
1467:fea9b289d482 | 1474:732e0f76dbfb |
---|---|
46 | 46 |
47 /* Use old draft-ietf-tsvwg-sctpsocket-17 API ? If not defined, RFC6458 API will be used */ | 47 /* Use old draft-ietf-tsvwg-sctpsocket-17 API ? If not defined, RFC6458 API will be used */ |
48 /* #define OLD_SCTP_SOCKET_API */ | 48 /* #define OLD_SCTP_SOCKET_API */ |
49 | 49 |
50 /* Automatically fallback to old API if some of the new symbols are not defined */ | 50 /* Automatically fallback to old API if some of the new symbols are not defined */ |
51 #if (!defined(SCTP_CONNECTX_4_ARGS) || (!defined(SCTP_RECVRCVINFO)) || (!defined(SCTP_SNDINFO))) | 51 #if (!defined(SCTP_CONNECTX_4_ARGS) || (!defined(SCTP_RECVRCVINFO)) || (!defined(SCTP_SNDINFO)) || (!defined(SCTP_SEND_FAILED_EVENT))) |
52 # define OLD_SCTP_SOCKET_API | 52 # define OLD_SCTP_SOCKET_API |
53 #endif | 53 #endif |
54 | 54 |
55 | 55 |
56 /* Temper with the retransmission timers to try and improve disconnection detection response? Undef this to keep the defaults of SCTP stack */ | 56 /* Temper with the retransmission timers to try and improve disconnection detection response? Undef this to keep the defaults of SCTP stack */ |