Mesa (master): gallium/util: add missing include

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jun 20 07:11:56 UTC 2020


Module: Mesa
Branch: master
Commit: 08f64f91d12179ccc21d9b71ebe17eae96334def
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08f64f91d12179ccc21d9b71ebe17eae96334def

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Jun 16 11:18:34 2020 +0200

gallium/util: add missing include

This source-file uses PIPE_OS_WINDOWS to enable the Windows
functionality. But witout including p_config.h, this pre-processor
symbol won't be defined at all.

Let's fix this by adding the missing include, enabling stack-traces on
Windows.

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5497>

---

 src/gallium/auxiliary/util/u_debug_stack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/auxiliary/util/u_debug_stack.c b/src/gallium/auxiliary/util/u_debug_stack.c
index 44581e0a3fb..e16123b9087 100644
--- a/src/gallium/auxiliary/util/u_debug_stack.c
+++ b/src/gallium/auxiliary/util/u_debug_stack.c
@@ -35,6 +35,7 @@
 #include "util/u_debug.h"
 #include "u_debug_symbol.h"
 #include "u_debug_stack.h"
+#include "pipe/p_config.h"
 
 #if defined(HAVE_LIBUNWIND)
 



More information about the mesa-commit mailing list