[git commit] sched.h: include stdlib.h for malloc/free
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Mon Dec 3 08:46:42 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=ae9e3f46520c35dd77f7f2a26f789a94276e6a8c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
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 b1f94ce..a5eb6ee 100644
--- a/libc/sysdeps/linux/common/bits/sched.h
+++ b/libc/sysdeps/linux/common/bits/sched.h
@@ -108,6 +108,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