From 83e975e4cd9c28a936bd47b4d1158915e0995e61 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sun, 26 Sep 2010 14:27:32 +0200 Subject: [PATCH] stdlib, sys_wait: Avoid compilation error on mingw. * lib/sys_wait.in.h: Include , for SIGTERM. --- ChangeLog | 5 +++++ lib/sys_wait.in.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e570eb18c5..959a0afed6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-09-26 Simon Josefsson + + stdlib, sys_wait: Avoid compilation error on mingw. + * lib/sys_wait.in.h: Include , for SIGTERM. + 2010-09-26 Bruno Haible stdlib tests: Avoid code duplication. diff --git a/lib/sys_wait.in.h b/lib/sys_wait.in.h index 6699c61f07..d30a3e6f25 100644 --- a/lib/sys_wait.in.h +++ b/lib/sys_wait.in.h @@ -79,7 +79,8 @@ extern "C" { #else /* Native Windows API. */ -# include +# include /* for _cwait, WAIT_CHILD */ +# include /* for SIGTERM */ # define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD) -- 2.30.2