#if !defined (HAVE_STRLCPY) || \
!defined (HAVE_STRNDUP) || \
- !defined (HAVE_STRNLEN)
+ !defined (HAVE_STRNLEN) || \
+ !defined (HAVE_GETCWD)
# include <stddef.h> /* size_t */
#endif
void rewind (FILE *);
#endif
+#ifndef HAVE_GETCWD
+char *getcwd (char *buf, size_t size);
+#endif
+
#ifdef __cplusplus
} /* extern "C" */
#endif