openbsd-ports/telephony/kamailio/patches/patch-modules_misc_radius_functions_c
sthen 4e016d6fd1 import telephony/kamailio, reworked from a port submission by Don Jackson.
some more work still to do but most things should run ok, and it's easier
to handle that in-tree.

KAMAILIO (OpenSER) is a mature and flexible open source SIP server (RFC3261).
It can be used on systems with limitted resources as well as on carrier grade
servers, scaling to up to thousands call setups per second. It is written in
pure C for Unix/Linux-like systems with architecture specific optimizations to
offer high performances. It is customizable, being able to feature as fast load
balancer; SIP server flavours: registrar, location server, proxy server,
redirect server; gateway to SMS/XMPP; or advanced VoIP application server.
2009-06-04 13:44:09 +00:00

15 lines
535 B
Plaintext

$OpenBSD: patch-modules_misc_radius_functions_c,v 1.1.1.1 2009/06/04 13:44:09 sthen Exp $
--- modules/misc_radius/functions.c.orig Wed May 13 21:20:09 2009
+++ modules/misc_radius/functions.c Wed May 13 21:20:18 2009
@@ -34,6 +34,10 @@
/* Array for extra attribute values */
static str val_arr[MAX_EXTRA];
+#ifndef UINT4
+#define UINT4 uint32_t
+#endif
+
/* Extract one reply item value to AVP flags, name and value */
static inline int extract_avp(VALUE_PAIR* vp, unsigned short *flags,
int_str *name, int_str *value)