chiark / gitweb /
[PATCH] klibc: version 1.0.3
[elogind.git] / klibc / klibc / fork.c
index daf313eaf27edc784f77b0d2a7e47d7737daaa6d..fcd73bd60b236652028259f7d4bdd8c525f58b38 100644 (file)
@@ -8,11 +8,10 @@
 #include <sys/syscall.h>
 #include <signal.h>
 #include <unistd.h>
+#include <sched.h>
 
 #ifndef __NR_fork
 
-extern pid_t __clone(unsigned long flags, void * newsp);
-
 pid_t fork(void)
 {
   return __clone(SIGCHLD, 0);