summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/common/getcwd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getcwd.c b/libc/sysdeps/linux/common/getcwd.c
index 4a1ea093e..71134af09 100644
--- a/libc/sysdeps/linux/common/getcwd.c
+++ b/libc/sysdeps/linux/common/getcwd.c
@@ -1,5 +1,8 @@
/* These functions find the absolute path to the current working directory. */
+#define opendir __opendir
+#define closedir __closedir
+
#include <stdlib.h>
#include <errno.h>
#include <sys/stat.h>