From 7422e7099314cd0b55fedf14a0bef45894640d2f Mon Sep 17 00:00:00 2001 From: Thomas Ries Date: Fri, 14 Nov 2003 18:48:51 +0000 Subject: [PATCH] - rtpproxy.c: sys/types.h needed for *BSD - rtpproxy_relay.c: stdlib.h needed for atexit() - tested: siproxd builds on FreeBSD 4.9 --- ChangeLog | 2 ++ src/rtpproxy.c | 4 ++++ src/rtpproxy_relay.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ee4276d..4d95026 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 0.5.0 ===== + 14-Nov-2003: - rtpproxy.c: sys/types.h needed for *BSD + - tested: siproxd builds on FreeBSD 4.9 2-Nov-2003: - rtpproxy bugfix: On repetitive INVITES, the UDP media port could end up as -1 in the rewritten packet. 1-Nov-2003: - siproxd can use another outbound proxy (chaining) diff --git a/src/rtpproxy.c b/src/rtpproxy.c index e9243d0..42338e1 100644 --- a/src/rtpproxy.c +++ b/src/rtpproxy.c @@ -20,6 +20,10 @@ #include "config.h" +#ifdef _BSD +#include +#endif + #include #include diff --git a/src/rtpproxy_relay.c b/src/rtpproxy_relay.c index 99f44ec..e233bec 100644 --- a/src/rtpproxy_relay.c +++ b/src/rtpproxy_relay.c @@ -22,11 +22,11 @@ #include #include +#include #include #include #include #include -//#include #include #include