maximilian attems
2011-Aug-30 00:02 UTC
[klibc] [PATCH 2/2] include: [sched.h] misssing pid_t definition
Add sys/types.h include to fix: /usr/lib/klibc/include/sched.h:20:40: error: expected ?)? before ?int? /usr/lib/klibc/include/sched.h:21:39: error: expected ?)? before ?unsigned? /usr/lib/klibc/include/sched.h:22:39: error: expected ?)? before ?unsigned? /usr/lib/klibc/include/sched.h:35:1: error: unknown type name ?pid_t? Signed-off-by: maximilian attems <max at stro.at> --- usr/include/sched.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/usr/include/sched.h b/usr/include/sched.h index a1cc568..6874855 100644 --- a/usr/include/sched.h +++ b/usr/include/sched.h @@ -6,6 +6,7 @@ #define _SCHED_H #include <klibc/extern.h> +#include <sys/types.h> /* linux/sched.h is unusable; put the declarations we need here... */ -- 1.7.5.4