mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 01:00:30 +01:00
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>
(cherry picked from commit ccfa7e9f2e)
This commit is contained in:
parent
ffa261dfb9
commit
706caadbf2
2 changed files with 5 additions and 2 deletions
|
|
@ -320,8 +320,6 @@ struct pcvtid {
|
|||
/* Generic */
|
||||
/**************************************************************************/
|
||||
|
||||
#include <sys/wait.h> /* May need to adjust this for other OSs */
|
||||
|
||||
/* For PATH_MAX */
|
||||
#include "misc.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -27,9 +27,14 @@
|
|||
|
||||
#include "os.h"
|
||||
#include "misc.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBUNWIND
|
||||
|
||||
#define UNW_LOCAL_ONLY
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue