From ae9e3f46520c35dd77f7f2a26f789a94276e6a8c Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 24 Nov 2012 18:26:00 +0100 Subject: sched.h: include stdlib.h for malloc/free Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/bits/sched.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/common') 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 /* Type for array elements in 'cpu_set_t'. */ typedef unsigned long int __cpu_mask; -- cgit v1.2.3