summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:23:42 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:23:42 +0000
commitab9d3f10ea97362d3c8ed875f2a721bf56c0f0ed (patch)
tree5b7598f7b82ea93ccf7a199de0ae6bdbbc8a434a /libc/sysdeps/linux
parent1194c25c32a91132a9260d7b8ec99a304cbdb0eb (diff)
Use __open|__closedir
Diffstat (limited to 'libc/sysdeps/linux')
-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>