Explorar o código

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

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer %!s(int64=11) %!d(string=hai) anos
pai
achega
ae9e3f4652
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      libc/sysdeps/linux/common/bits/sched.h

+ 1 - 0
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;