aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_h323.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-19 08:11:51 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-19 08:11:51 +0000
commitb149107c9accc399a704e20facc29d39de0cd187 (patch)
treeb8f24a2be248e5afeab4ddabbdc08fff7cafa3e7 /channels/chan_h323.c
parentd433c9e7c161e045eb757fa8063c093d89686da2 (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-xchannels/chan_h323.c7
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"