Fix missing include of <sys/wait.h>
Instead of relying on indirect includes, it's much cleaner if everybody includes directly what he needs. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1419>
This commit is contained in:
parent
f6a367102c
commit
ccfa7e9f2e
|
@ -314,8 +314,6 @@ struct pcvtid {
|
||||||
/* Generic */
|
/* Generic */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
#include <sys/wait.h> /* May need to adjust this for other OSs */
|
|
||||||
|
|
||||||
/* For PATH_MAX */
|
/* For PATH_MAX */
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
|
|
|
@ -27,9 +27,14 @@
|
||||||
|
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBUNWIND
|
#ifdef HAVE_LIBUNWIND
|
||||||
|
|
||||||
#define UNW_LOCAL_ONLY
|
#define UNW_LOCAL_ONLY
|
||||||
|
|
Loading…
Reference in New Issue