sched.h: include stdlib.h for malloc/free

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
Bernhard Reutner-Fischer
2012-11-24 18:26:00 +01:00
parent ff352060fe
commit ae9e3f4652

View File

@@ -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;