aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-11-24 18:26:00 +0100
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-08 09:24:48 +0100
commit2e2dc998d8a6d9d8877524564f5f1136c608e859 (patch)
treed271070bf047591454b91ae8e9cc9468013168c2
parent2d0c3a704afe6bdc7be129e9f9217ec1369c1bc8 (diff)
downloaduClibc-2e2dc998d8a6d9d8877524564f5f1136c608e859.tar.gz
uClibc-2e2dc998d8a6d9d8877524564f5f1136c608e859.tar.bz2
sched.h: include stdlib.h for malloc/free
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-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 7d6273fe4..878550daa 100644
--- a/libc/sysdeps/linux/common/bits/sched.h
+++ b/libc/sysdeps/linux/common/bits/sched.h
@@ -109,6 +109,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;