Fix compilation warning in the MinGW build

* nt/inc/ms-w32.h: Include stdint.h.
(_execvp, execve): Provide prototypes.

* lib-src/emacsclient.c [WINDOWSNT]: Remove prototype for execvp,
it is now in nt/inc/ms-w32.h.
* lib-src/ntlib.c (getppid): Avoid compiler warnings due to format
mismatch.
(sys_ctime): Remove, not used.
This commit is contained in:
Eli Zaretskii 2016-07-22 20:38:22 +03:00
parent ad90397c59
commit d0e1774a58
3 changed files with 5 additions and 13 deletions

View file

@ -388,7 +388,6 @@ w32_window_app (void)
directly into the argv array of the child process. */
int w32_execvp (const char *, char **);
extern int execvp (const char*, char **);
int
w32_execvp (const char *path, char **argv)