diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2016-11-12 20:15:12 +0200 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2016-11-14 19:40:03 +0200 |
commit | 97a75e3829e2e263da1828a06dad97b40c7ff32c (patch) | |
tree | 21b2a72a2ae2672a0f1d808b2b0b2163aa0b998d /cel | |
parent | 7540036427f87bfe3c87357ac33c08561f191e98 (diff) |
Add support for building RADIUS with radcli
Radcli is yet another RADIUS client library, generally compatible with
freeradius and radiusclient-ng.
This commit adds autoconf option for detecting it as well and changes
cdr_radius and cel_radius to use its header file in that case.
ASTERISK-26540 #close
Change-Id: I271f0715406334874865ffbce0b354b3a2ca148f
Diffstat (limited to 'cel')
-rw-r--r-- | cel/cel_radius.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cel/cel_radius.c b/cel/cel_radius.c index e31cb5edc..250d6a778 100644 --- a/cel/cel_radius.c +++ b/cel/cel_radius.c @@ -33,11 +33,7 @@ #include "asterisk.h" -#ifdef FREERADIUS_CLIENT -#include <freeradius-client.h> -#else -#include <radiusclient-ng.h> -#endif +#include RADIUS_HEADER_STR #include "asterisk/channel.h" #include "asterisk/cel.h" |