sippy / rtpproxy

The RTPproxy is a high-performance software proxy for RTP streams that can work together with Sippy B2BUA, Kamailio, OpenSIPS and SER.
http://rtpproxy.org
BSD 2-Clause "Simplified" License
405 stars 114 forks source link

Include <err.h> if available #151

Open fweimer-rh opened 7 months ago

fweimer-rh commented 7 months ago

This avoids implicit declarations of warn and warnx and compilation failures with Clang 16 and GCC 14.

Fixes commit d89d9b15eb8ca3a6b18b ("Check return value of the read("/dev/urandom"). Just in case.") and commit 44fea8a6a4f1de1e0cb5 ("Also check if we got the amount of bytes that we expected.").

Related to: