diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2017-12-16 17:21:06 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-12-16 17:21:06 +0100 |
commit | abdece72c25e9728986fccfbc4329fe2cceb1c72 (patch) | |
tree | cb9b720313567c52d394156c2aa584fc752fde22 | |
parent | 3fde27d87da5dba9679669db6b4ce92c77a4dd27 (diff) | |
parent | f01d5faf305d6ca3b3a40026fc9ba5f1db244b4e (diff) | |
download | php-git-abdece72c25e9728986fccfbc4329fe2cceb1c72.tar.gz |
Merge branch 'PHP-7.2'
-rw-r--r-- | sapi/cli/ps_title.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/sapi/cli/ps_title.c b/sapi/cli/ps_title.c index 303115f7bc..7b00348be6 100644 --- a/sapi/cli/ps_title.c +++ b/sapi/cli/ps_title.c @@ -28,16 +28,6 @@ * The following code is adopted from the PostgreSQL's ps_status(.h/.c). */ -#include "ps_title.h" -#include <stdio.h> - -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif - -#include <string.h> -#include <stdlib.h> - #ifdef PHP_WIN32 #include "config.w32.h" #include <windows.h> @@ -48,6 +38,17 @@ extern char** environ; #endif +#include "ps_title.h" +#include <stdio.h> + +#ifdef HAVE_UNISTD_H +#include <sys/types.h> +#include <unistd.h> +#endif + +#include <string.h> +#include <stdlib.h> + #ifdef HAVE_SYS_PSTAT_H #include <sys/pstat.h> /* for HP-UX */ #endif |