aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2011-08-30 01:59:52 +0200
committermaximilian attems <max@stro.at>2011-08-30 11:33:35 +0200
commit1a4d6425459e006167270dc46466bb818d98fd69 (patch)
tree62c4761d2e0cc9bd68c8816e93522905fba83175
parentd18277892440550ac45eb8b970f0bacffe79fd3e (diff)
downloadklibc-1a4d6425459e006167270dc46466bb818d98fd69.tar.gz
[klibc] 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@stro.at>
-rw-r--r--usr/include/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/include/sched.h b/usr/include/sched.h
index a1cc5685f8b43..6874855a0c93d 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... */