You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/mail-mta/exim/files/exim-4.86-radius-include.patch

16 lines
512 B

diff -urN exim-4.86.orig/src/auths/call_radius.c exim-4.86/src/auths/call_radius.c
--- exim-4.86.orig/src/auths/call_radius.c 2015-07-24 00:20:37.000000000 +0300
+++ exim-4.86/src/auths/call_radius.c 2015-10-17 20:05:31.581240956 +0300
@@ -38,7 +38,11 @@
#if !defined(RADIUS_LIB_RADIUSCLIENT) && !defined(RADIUS_LIB_RADIUSCLIENTNEW)
#define RADIUS_LIB_RADIUSCLIENT
#endif
+ #ifdef RADIUS_LIB_RADIUSCLIENTNEW
+ #include <freeradius-client.h>
+ #else
#include <radiusclient.h>
+ #endif
#endif