summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/pt-system.c
diff options
context:
space:
mode:
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)