chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] klibc: version 1.0.3
[elogind.git]
/
klibc
/
klibc
/
fork.c
diff --git
a/klibc/klibc/fork.c
b/klibc/klibc/fork.c
index daf313eaf27edc784f77b0d2a7e47d7737daaa6d..fcd73bd60b236652028259f7d4bdd8c525f58b38 100644
(file)
--- a/
klibc/klibc/fork.c
+++ b/
klibc/klibc/fork.c
@@
-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);