projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stdlib, sys_wait: Avoid compilation error on mingw.
[gnulib.git]
/
lib
/
sys_wait.in.h
diff --git
a/lib/sys_wait.in.h
b/lib/sys_wait.in.h
index
6699c61
..
d30a3e6
100644
(file)
--- a/
lib/sys_wait.in.h
+++ b/
lib/sys_wait.in.h
@@
-79,7
+79,8
@@
extern "C" {
#else
/* Native Windows API. */
#else
/* Native Windows API. */
-# include <process.h>
+# include <process.h> /* for _cwait, WAIT_CHILD */
+# include <signal.h> /* for SIGTERM */
# define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD)
# define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD)