[git commit branch/0.9.33] sched.h: include stdlib.h for malloc/free

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Jan 8 08:24:48 UTC 2013


commit: http://git.uclibc.org/uClibc/commit/?id=2e2dc998d8a6d9d8877524564f5f1136c608e859
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.33

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/sysdeps/linux/common/bits/sched.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/common/bits/sched.h b/libc/sysdeps/linux/common/bits/sched.h
index 7d6273f..878550d 100644
--- a/libc/sysdeps/linux/common/bits/sched.h
+++ b/libc/sysdeps/linux/common/bits/sched.h
@@ -109,6 +109,7 @@ struct __sched_param
 /* Size definition for CPU sets.  */
 # define __CPU_SETSIZE	1024
 # define __NCPUBITS	(8 * sizeof (__cpu_mask))
+# include <stdlib.h>
 
 /* Type for array elements in 'cpu_set_t'.  */
 typedef unsigned long int __cpu_mask;


More information about the uClibc-cvs mailing list