fix test-poll compilation failure on Cygwin
[gnulib.git] / modules / getcwd
index 483d1b1..46ecb03 100644 (file)
@@ -2,7 +2,6 @@ Description:
 Return the current working directory.
 
 Files:
-lib/getcwd.h
 lib/getcwd.c
 m4/getcwd-abort-bug.m4
 m4/getcwd-path-max.m4
@@ -11,17 +10,21 @@ m4/getcwd.m4
 Depends-on:
 mempcpy
 d-ino
+dirfd
 extensions
+openat
 stdbool
+unistd
+malloc-posix
 
 configure.ac:
 gl_FUNC_GETCWD
+gl_UNISTD_MODULE_INDICATOR([getcwd])
 
 Makefile.am:
-EXTRA_DIST += getcwd.h getcwd.c
 
 Include:
-"getcwd.h"
+<unistd.h>
 
 License:
 GPL