+2003-03-30 Bruno Haible <bruno@clisp.org>
+
+ * xgetcwd.c: Include <unistd.h>.
+
2003-04-03 Bruno Haible <bruno@clisp.org>
* w32spawn.h (dup_noinherit): Signal an error instead of returning -1.
/* xgetcwd.c -- return current directory with unlimited length
- Copyright (C) 1992, 1996, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1996, 2000, 2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#endif
#include <sys/types.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
#include "pathmax.h"
#if HAVE_GETCWD