summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-11-24 18:26:00 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-12-03 09:46:42 +0100
commitae9e3f46520c35dd77f7f2a26f789a94276e6a8c (patch)
treecf8ce4d76915b02f9cb3d9666a8b5cf853e39b24 /libc
parentff352060fe8704df40ce296f97768a6b4bf7295d (diff)
sched.h: include stdlib.h for malloc/free
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/bits/sched.h1
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 b1f94ce99..a5eb6ee55 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;