mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
os: include unistd.h when HAVE_PSTACK is defined
On Solaris when HAVE_PSTACK is defined unistd.h needs to be included to avoid implicit declarations of pipe, read, execle etc.
This commit is contained in:
committed by
Aaron Plattner
parent
7515c23a41
commit
236d177550
@@ -227,6 +227,8 @@ xorg_backtrace_frame(uintptr_t pc, int signo, void *arg)
|
||||
#endif /* HAVE_WALKCONTEXT */
|
||||
|
||||
#ifdef HAVE_PSTACK
|
||||
#include <unistd.h>
|
||||
|
||||
static int
|
||||
xorg_backtrace_pstack(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user