From 244539cd0852bbcf8f21507d7ff866d8e7fcff18 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Tue, 20 Nov 2007 10:09:16 +0000 Subject: Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso --- libc/stdlib/system.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libc/stdlib/system.c') diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c index 147ff5242..d1ff50f51 100644 --- a/libc/stdlib/system.c +++ b/libc/stdlib/system.c @@ -15,8 +15,8 @@ #ifdef __UCLIBC_HAS_THREADS_NATIVE__ #include #include -#include #include +#include #endif libc_hidden_proto(_exit) @@ -85,6 +85,10 @@ int __libc_system(const char *command) return. It might still be in the kernel when the cancellation request comes. Therefore we have to use the clone() calls ability to have the kernel write the PID into the user-level variable. */ + +libc_hidden_proto(sigaction) +libc_hidden_proto(waitpid) + #if defined __ia64__ # define FORK() \ INLINE_SYSCALL (clone2, 6, CLONE_PARENT_SETTID | SIGCHLD, NULL, 0, \ @@ -264,4 +268,6 @@ cancel_handler (void *arg) DO_UNLOCK (); } #endif +#ifdef IS_IN_libc weak_alias(__libc_system,system) +#endif -- cgit v1.2.3