# HG changeset patch # User Simon Josefsson # Date 1285504052 -7200 # Node ID 734f3ca7d864486ce72fd28a5afb3e3703886700 # Parent b16d13c70a229c60cfd25b077861ba23e6051ca8 stdlib, sys_wait: Avoid compilation error on mingw. * lib/sys_wait.in.h: Include , for SIGTERM. diff --git a/ChangeLog b/ChangeLog --- 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 --- a/lib/sys_wait.in.h +++ b/lib/sys_wait.in.h @@ -79,7 +79,8 @@ #else /* Native Windows API. */ -# include +# include /* for _cwait, WAIT_CHILD */ +# include /* for SIGTERM */ # define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD)