summaryrefslogtreecommitdiff
blob: 49e809113fde6f7eba637c78d983e9116e7f691c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
diff -Nru freeradius-1.1.5.orig/src/main/mainconfig.c freeradius-1.1.5/src/main/mainconfig.c
--- freeradius-1.1.5.orig/src/main/mainconfig.c	2007-03-22 11:09:57.000000000 +0200
+++ freeradius-1.1.5/src/main/mainconfig.c	2007-03-22 11:13:26.000000000 +0200
@@ -23,6 +23,7 @@
 
 #include "autoconf.h"
 #include "libradius.h"
+#include "ltdl.h"
 
 #include <stdlib.h>
 #include <string.h>
@@ -1487,6 +1488,10 @@
 /*
  *	Free the configuration.
  */
+extern void rl_free(void);
+extern void paircompare_builtin_free(void);
+extern void xlat_free(void);
+
 int free_mainconfig(void)
 {
 	/*
diff -Nru freeradius-1.1.5.orig/src/modules/rlm_ldap/rlm_ldap.c freeradius-1.1.5/src/modules/rlm_ldap/rlm_ldap.c
--- freeradius-1.1.5.orig/src/modules/rlm_ldap/rlm_ldap.c	2006-05-09 02:45:02.000000000 +0300
+++ freeradius-1.1.5/src/modules/rlm_ldap/rlm_ldap.c	2007-03-22 10:57:22.000000000 +0200
@@ -175,6 +175,8 @@
 #include	<string.h>
 
 #include	<lber.h>
+#define LDAP_DEPRECATED 1
+#undef HAVE_LDAP_INT_TLS_CONFIG
 #include        <ldap.h>
 
 #include	<errno.h>
diff -Nru freeradius-1.1.5.orig/src/modules/rlm_smb/smblib.c freeradius-1.1.5/src/modules/rlm_smb/smblib.c
--- freeradius-1.1.5.orig/src/modules/rlm_smb/smblib.c	2004-02-26 21:04:35.000000000 +0200
+++ freeradius-1.1.5/src/modules/rlm_smb/smblib.c	2007-03-17 11:13:44.000000000 +0200
@@ -23,6 +23,8 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
+#include <string.h>
+
 int SMBlib_errno;
 int SMBlib_SMB_Error;
 #define SMBLIB_ERRNO
diff -Nru freeradius-1.1.5.orig/src/modules/rlm_smb/smblib-util.c freeradius-1.1.5/src/modules/rlm_smb/smblib-util.c
--- freeradius-1.1.5.orig/src/modules/rlm_smb/smblib-util.c	2004-02-26 21:04:35.000000000 +0200
+++ freeradius-1.1.5/src/modules/rlm_smb/smblib-util.c	2007-03-17 11:13:58.000000000 +0200
@@ -23,6 +23,8 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
+#include <string.h>
+
 #include "smblib-priv.h"
 
 #include "rfcnb.h"