summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libc-NULL-undeclared.patch
blob: cf22b9ac6ae5269b7d2e65423ea61d5ebf4c43f5 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Index: b/usr/src/lib/libc/port/fp/ieee_globals.c
===================================================================
--- a/usr/src/lib/libc/port/fp/ieee_globals.c
+++ b/usr/src/lib/libc/port/fp/ieee_globals.c
@@ -41,6 +41,7 @@
  */
 
 #include "lint.h"
+#include <stdlib.h>
 #include <thread.h>
 #include <synch.h>
 #include <mtlib.h>
Index: b/usr/src/lib/libc/port/gen/catgets.c
===================================================================
--- a/usr/src/lib/libc/port/gen/catgets.c
+++ b/usr/src/lib/libc/port/gen/catgets.c
@@ -33,6 +33,7 @@
 #pragma weak _catgets = catgets
 
 #include "lint.h"
+#include <stdlib.h>
 #include <sys/types.h>
 #include <nl_types.h>
 #include <errno.h>
Index: b/usr/src/lib/libc/port/gen/tfind.c
===================================================================
--- a/usr/src/lib/libc/port/gen/tfind.c
+++ b/usr/src/lib/libc/port/gen/tfind.c
@@ -39,6 +39,7 @@
 #pragma weak _tfind = tfind
 
 #include "lint.h"
+#include <stdlib.h>
 #include <mtlib.h>
 #include <sys/types.h>
 #include <search.h>
Index: b/usr/src/lib/libc/port/sys/exacctsys.c
===================================================================
--- a/usr/src/lib/libc/port/sys/exacctsys.c
+++ b/usr/src/lib/libc/port/sys/exacctsys.c
@@ -31,6 +31,7 @@
 #pragma weak _wracct = wracct
 
 #include "lint.h"
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/syscall.h>
 #include <sys/procset.h>
Index: b/usr/src/lib/libc/port/sys/rctlsys.c
===================================================================
--- a/usr/src/lib/libc/port/sys/rctlsys.c
+++ b/usr/src/lib/libc/port/sys/rctlsys.c
@@ -30,6 +30,7 @@
 #pragma weak _setrctl = setrctl
 
 #include "lint.h"
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/syscall.h>
 #include <sys/rctl.h>
Index: b/usr/src/lib/libc/port/sys/sidsys.c
===================================================================
--- a/usr/src/lib/libc/port/sys/sidsys.c
+++ b/usr/src/lib/libc/port/sys/sidsys.c
@@ -29,6 +29,7 @@
  */
 
 #include "lint.h"
+#include <stdlib.h>
 #include <sys/sid.h>
 #include <sys/syscall.h>
 
Index: b/usr/src/common/unicode/uconv.c
===================================================================
--- a/usr/src/common/unicode/uconv.c
+++ b/usr/src/common/unicode/uconv.c
@@ -34,6 +34,7 @@
  * Interface stability: Committed
  */
 
+#include <stdlib.h>
 #include <sys/types.h>
 #ifdef	_KERNEL
 #include <sys/param.h>