summaryrefslogtreecommitdiff
path: root/libbb/xreadlink.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-24 22:03:46 +0000
committerDenis Vlasenko2007-01-24 22:03:46 +0000
commite338dd95b45b39a1e3bc307adc98064173a0f9f3 (patch)
treeffbd0b893c8ba8088a2f034684b9745b49086dd8 /libbb/xreadlink.c
parent8942c12782d20367c8816d3cc83c5274735e932a (diff)
downloadbusybox-e338dd95b45b39a1e3bc307adc98064173a0f9f3.zip
busybox-e338dd95b45b39a1e3bc307adc98064173a0f9f3.tar.gz
accumulated post-1.4.0 fixes
Diffstat (limited to 'libbb/xreadlink.c')
-rw-r--r--libbb/xreadlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c
index 76f52ca..fb67cde 100644
--- a/libbb/xreadlink.c
+++ b/libbb/xreadlink.c
@@ -36,7 +36,7 @@ char *xreadlink(const char *path)
char *xmalloc_realpath(const char *path)
{
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
/* glibc provides a non-standard extension */
return realpath(path, NULL);
#else