]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Include <io.h>, needed to declare close(), read(), write().
authorBruno Haible <bruno@clisp.org>
Sun, 24 Aug 2003 18:15:34 +0000 (18:15 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:54 +0000 (12:10 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/msgfilter.c
gettext-tools/src/msggrep.c

index ad5b52ec52c48ae9077906a66691d958e62419c9..3aeedc2c7d339f4e61ec2ace04556a97e09bb312 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-24  Bruno Haible  <bruno@clisp.org>
+
+       * msgfilter.c: On Windows, include <io.h> instead of <unistd.h>.
+       * msggrep.c: Likewise.
+
 2003-08-24  Bruno Haible  <bruno@clisp.org>
 
        * plural-count.h: New file.
index 5ee6800f22d05afef486b767f75ffce33e918db6..7ed92291086eea5f7dec370d389ac4ec97fb2705 100644 (file)
@@ -37,6 +37,8 @@
 
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
+#elif defined _MSC_VER || defined __MINGW32__
+# include <io.h>
 #endif
 
 /* Get fd_set (on AIX) or select() declaration (on EMX).  */
index c91782f9de27e402822d8194464b2e5e281779c9..c7a10f7fced432bf3753340108c6a7e49fd5ad95 100644 (file)
@@ -32,6 +32,8 @@
 
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
+#elif defined _MSC_VER || defined __MINGW32__
+# include <io.h>
 #endif
 
 #include <fnmatch.h>