com php-src: Always include the header for nice() on Windows: ext/standard/exec.c
| From: | Kalle Sommer Nielsen | Date: | Tue, 18 Oct 2016 21:14:46 +0000 |
| Subject: | com php-src: Always include the header for nice() on Windows: ext/standard/exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95211@lists.php.net to get a copy of this message | ||
Commit: e2b52c510effa0eaf58fb544f8a09b1e7121ec1f
Author: Kalle Sommer Nielsen <kalle@php.net> Tue, 18 Oct 2016 23:14:46 +0200
Parents: 6cb13be2c82ffaa30a41c6ca31980b8ce40f5c20
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e2b52c510effa0eaf58fb544f8a09b1e7121ec1f
Log:
Always include the header for nice() on Windows
Changed paths:
M ext/standard/exec.c
Diff:
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index 0cf2b57..1a387da 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -54,6 +54,10 @@
#include <limits.h>
#endif
+#ifdef PHP_WIN32
+# include "win32/nice.h"
+#endif
+
static size_t cmd_max_len;
/* {{{ PHP_MINIT_FUNCTION(exec) */