summaryrefslogtreecommitdiff
path: root/libc/debian/patches/sgs-libelf-headers.patch
blob: 746ba9a255594ee99b19b40918e99b6da1b6f54f (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
Index: libc/usr/src/cmd/sgs/libelf/common/data.c
===================================================================
--- libc.orig/usr/src/cmd/sgs/libelf/common/data.c	2012-10-08 00:25:33.000000000 +0000
+++ libc/usr/src/cmd/sgs/libelf/common/data.c	2012-11-14 23:07:44.278587092 +0000
@@ -27,6 +27,7 @@
 /*	Copyright (c) 1988 AT&T	*/
 /*	  All Rights Reserved  	*/
 
+#include <stdlib.h>
 #include <libelf.h>
 #include "decl.h"
 
Index: libc/usr/src/cmd/sgs/libelf/common/getbase.c
===================================================================
--- libc.orig/usr/src/cmd/sgs/libelf/common/getbase.c	2012-10-08 00:25:33.000000000 +0000
+++ libc/usr/src/cmd/sgs/libelf/common/getbase.c	2012-11-14 23:10:58.033172907 +0000
@@ -26,6 +26,7 @@
 /*	Copyright (c) 1988 AT&T	*/
 /*	  All Rights Reserved  	*/
 
+#include <stdlib.h>
 #include <ar.h>
 #include "libelf.h"
 #include "decl.h"
Index: libc/usr/src/cmd/sgs/libelf/common/rand.c
===================================================================
--- libc.orig/usr/src/cmd/sgs/libelf/common/rand.c	2012-10-08 00:25:33.000000000 +0000
+++ libc/usr/src/cmd/sgs/libelf/common/rand.c	2012-11-14 23:11:42.170322620 +0000
@@ -26,6 +26,7 @@
 /*	Copyright (c) 1988 AT&T	*/
 /*	  All Rights Reserved  	*/
 
+#include <stdlib.h>
 #include "libelf.h"
 #include "decl.h"
 #include "msg.h"