diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-11-24 18:26:00 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-12-03 09:46:42 +0100 |
commit | ae9e3f46520c35dd77f7f2a26f789a94276e6a8c (patch) | |
tree | cf8ce4d76915b02f9cb3d9666a8b5cf853e39b24 /libc/sysdeps | |
parent | ff352060fe8704df40ce296f97768a6b4bf7295d (diff) |
sched.h: include stdlib.h for malloc/free
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | 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 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; |