changeset 16126:4eabecda57ee

getcwd: Fix link error on MSVC 9. * modules/getcwd (Depends-on): Add readdir, rewinddir.
author Bruno Haible <bruno@clisp.org>
date Mon, 28 Nov 2011 00:44:07 +0100
parents df1c78661f1f
children e6b64482119f
files ChangeLog modules/getcwd
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-27  Bruno Haible  <bruno@clisp.org>
+
+	getcwd: Fix link error on MSVC 9.
+	* modules/getcwd (Depends-on): Add readdir, rewinddir.
+
 2011-11-27  Bruno Haible  <bruno@clisp.org>
 
 	Don't set REPLACE_FOO to 1 if HAVE_FOO is 0.
--- a/modules/getcwd
+++ b/modules/getcwd
@@ -21,6 +21,8 @@
 fstat           [test $REPLACE_GETCWD = 1]
 fstatat         [test $REPLACE_GETCWD = 1]
 opendir         [test $REPLACE_GETCWD = 1]
+readdir         [test $REPLACE_GETCWD = 1]
+rewinddir       [test $REPLACE_GETCWD = 1]
 closedir        [test $REPLACE_GETCWD = 1]
 stdbool         [test $REPLACE_GETCWD = 1]
 malloc-posix    [test $REPLACE_GETCWD = 1]