summaryrefslogtreecommitdiff
path: root/gl/unistd.in.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-09-09 08:49:31 +0200
committerSimon Josefsson <simon@josefsson.org>2011-09-09 08:49:31 +0200
commit24ce0c3ec407144892fc21b7ddadd4ada5f96cc2 (patch)
tree369af69b59487dec0886421449c695cf518de3d2 /gl/unistd.in.h
parent8c1f6e123b1e6aa852c2a823008e3dbf5ef0dd6b (diff)
downloadgnutls-24ce0c3ec407144892fc21b7ddadd4ada5f96cc2.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/unistd.in.h')
-rw-r--r--gl/unistd.in.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gl/unistd.in.h b/gl/unistd.in.h
index 769ecf0d43..119cd142f4 100644
--- a/gl/unistd.in.h
+++ b/gl/unistd.in.h
@@ -85,7 +85,8 @@
/* mingw declares getcwd in <io.h>, not in <unistd.h>. */
#if ((@GNULIB_GETCWD@ || defined GNULIB_POSIXCHECK) \
&& ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
-# include <io.h>
+# include <io.h> /* mingw32, mingw64 */
+# include <direct.h> /* mingw64 */
#endif
/* AIX and OSF/1 5.1 declare getdomainname in <netdb.h>, not in <unistd.h>.