diff options
-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 |