summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getdirname.c')
-rw-r--r--libc/sysdeps/linux/common/getdirname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getdirname.c b/libc/sysdeps/linux/common/getdirname.c
index 486ee9335..d791f34a3 100644
--- a/libc/sysdeps/linux/common/getdirname.c
+++ b/libc/sysdeps/linux/common/getdirname.c
@@ -17,6 +17,8 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define getcwd __getcwd
+
#include <features.h>
#include <unistd.h>
#include <sys/stat.h>