]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix compilation error on mingw.
authorBruno Haible <bruno@clisp.org>
Fri, 28 Nov 2003 20:23:13 +0000 (20:23 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:21 +0000 (12:11 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/wait-process.c

index 76b514e0f103405f8c57a37f653bb4f80dae1136..d91befa2bcce6b59e432b8cb7b0f568f78287aac 100644 (file)
@@ -1,3 +1,7 @@
+2003-11-27  Bruno Haible  <bruno@clisp.org>
+
+       * wait-process.c: On Windows, include windows.h. Needed on mingw.
+
 2003-11-17  Bruno Haible  <bruno@clisp.org>
 
        * canonicalize.c: #undef realpath after <config.h> but before the
index 98891654984dd73a6216aa7ce053390244fb18f4..adb1be04a4ad040949ba5785e0dc64a68a855b92 100644 (file)
 
 #if defined _MSC_VER || defined __MINGW32__
 
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
 /* The return value of spawnvp() is really a process handle as returned
    by CreateProcess().  Therefore we can kill it using TerminateProcess.  */
 #define kill(pid,sig) TerminateProcess ((HANDLE) (pid), sig)