stdlib, sys_wait: Avoid compilation error on mingw.
[gnulib.git] / lib / sys_wait.in.h
index 6699c61..d30a3e6 100644 (file)
@@ -79,7 +79,8 @@ extern "C" {
 #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)