diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-19 08:11:51 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-19 08:11:51 +0000 |
commit | b149107c9accc399a704e20facc29d39de0cd187 (patch) | |
tree | b8f24a2be248e5afeab4ddabbdc08fff7cafa3e7 /channels/chan_h323.c | |
parent | d433c9e7c161e045eb757fa8063c093d89686da2 (diff) |
OpenBSD portability enhancements (bug 1002)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2708 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_h323.c')
-rwxr-xr-x | channels/chan_h323.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c index b29f6977b..1dd16da4c 100755 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -55,7 +55,12 @@ #include <netdb.h> #include <sys/signal.h> #include <netinet/ip.h> - +#ifdef __OpenBSD__ +#include <netinet/in_systm.h> +#ifndef IPTOS_MINCOST +#define IPTOS_MINCOST 0x02 +#endif +#endif #include "h323/chan_h323.h" |