mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
gallium: fix ddebug on windows
By including the proper headers for getpid and for mkdir.
Fixes: 6ff0c6f4eb
("gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
17f49950da
commit
2877b6555c
1 changed files with 5 additions and 1 deletions
|
|
@ -37,9 +37,13 @@
|
|||
#include "util/u_debug.h"
|
||||
|
||||
#include "pipe/p_config.h"
|
||||
#ifdef PIPE_OS_UNIX
|
||||
#if defined(PIPE_OS_UNIX)
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#elif defined(PIPE_OS_WINDOWS)
|
||||
#include <direct.h>
|
||||
#include <process.h>
|
||||
#define mkdir(dir, mode) _mkdir(dir)
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue