summaryrefslogtreecommitdiff
blob: 2e4b509b9c2d555cdddbdeaae6043a12535d0d66 (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
59
60
61
62
63
64
65
66
diff -Nru radius-1.5.orig/lib/getgr.c radius-1.5/lib/getgr.c
--- radius-1.5.orig/lib/getgr.c	2007-07-14 09:23:17.000000000 +0300
+++ radius-1.5/lib/getgr.c	2007-07-14 09:20:52.000000000 +0300
@@ -23,6 +23,7 @@
 #endif
 #include <sys/types.h>
 #include <stdlib.h>
+#include <string.h>
 #include <grp.h>
 
 #include <radius/mem.h>
diff -Nru radius-1.5.orig/lib/getpw_r.c radius-1.5/lib/getpw_r.c
--- radius-1.5.orig/lib/getpw_r.c	2007-07-14 09:23:17.000000000 +0300
+++ radius-1.5/lib/getpw_r.c	2007-07-14 09:20:52.000000000 +0300
@@ -24,6 +24,7 @@
 
 #include <sys/types.h>
 #include <stdlib.h>
+#include <string.h>
 #include <pwd.h>
 
 LOCK_DECLARE(lock)
diff -Nru radius-1.5.orig/lib/numtostr.c radius-1.5/lib/numtostr.c
--- radius-1.5.orig/lib/numtostr.c	2007-06-27 15:53:52.000000000 +0300
+++ radius-1.5/lib/numtostr.c	2007-07-14 09:23:56.000000000 +0300
@@ -22,6 +22,7 @@
 
 #include <sys/types.h>
 #include <unistd.h>
+#include <string.h>
 #include "intprops.h"
 
 size_t
diff -Nru radius-1.5.orig/radscm/rscm_lib.c radius-1.5/radscm/rscm_lib.c
--- radius-1.5.orig/radscm/rscm_lib.c	2007-07-14 09:23:17.000000000 +0300
+++ radius-1.5/radscm/rscm_lib.c	2007-07-14 09:20:52.000000000 +0300
@@ -22,6 +22,7 @@
 #endif
 
 #include <libguile.h>
+#include <string.h>
 #include <radius/radius.h>
 #include <radius/radscm.h>
 
diff -Nru radius-1.5.orig/radscm/rscm_utmp.c radius-1.5/radscm/rscm_utmp.c
--- radius-1.5.orig/radscm/rscm_utmp.c	2007-07-14 09:23:17.000000000 +0300
+++ radius-1.5/radscm/rscm_utmp.c	2007-07-14 09:20:52.000000000 +0300
@@ -23,6 +23,7 @@
 #endif
 
 #include <stdlib.h>
+#include <string.h>
 #include <sys/types.h>
 #include <netinet/in.h>
 
diff -Nru radius-1.5.orig/scripts/mktypes.c radius-1.5/scripts/mktypes.c
--- radius-1.5.orig/scripts/mktypes.c	2007-07-14 09:23:17.000000000 +0300
+++ radius-1.5/scripts/mktypes.c	2007-07-14 09:20:52.000000000 +0300
@@ -25,6 +25,7 @@
 #ifdef HAVE_STDINT_H
 # include <stdint.h>
 #endif
+#include <stdio.h>
 
 #ifndef DEF_AUTH_PORT
 # define DEF_AUTH_PORT  1812