From e2b52c510effa0eaf58fb544f8a09b1e7121ec1f Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Tue, 18 Oct 2016 23:14:46 +0200 Subject: [PATCH] Always include the header for nice() on Windows --- ext/standard/exec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 0cf2b57191..1a387da142 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -54,6 +54,10 @@ #include #endif +#ifdef PHP_WIN32 +# include "win32/nice.h" +#endif + static size_t cmd_max_len; /* {{{ PHP_MINIT_FUNCTION(exec) */ -- 2.40.0