summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/pt-system.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-12 02:15:11 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-12 02:15:11 +0000
commit69c1f07506ef56973b543c3ec111a4673c11f16c (patch)
treec290e80a383f9013715f2ace3e8c49ae7490c654 /libpthread/nptl/pt-system.c
parent7910749bb6b82696ad718f2ef75e9e181f1ad6f4 (diff)
downloaduClibc-alpine-69c1f07506ef56973b543c3ec111a4673c11f16c.tar.bz2
uClibc-alpine-69c1f07506ef56973b543c3ec111a4673c11f16c.tar.xz
Changed files for glibc compatibility so that more NPTL files would build.
Diffstat (limited to 'libpthread/nptl/pt-system.c')
-rw-r--r--libpthread/nptl/pt-system.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpthread/nptl/pt-system.c b/libpthread/nptl/pt-system.c
index b3b45ab93..c43c1edbb 100644
--- a/libpthread/nptl/pt-system.c
+++ b/libpthread/nptl/pt-system.c
@@ -22,6 +22,11 @@
#include <sysdep.h>
#include "pthreadP.h"
+/* Compatibility define. */
+#ifdef __UCLIBC__
+#include <sysdep-cancel.h>
+#define __libc_system system
+#endif
int
system (const char *line)