From: Erik Faye-Lund Date: Tue, 16 Jun 2020 09:18:34 +0000 (+0200) Subject: gallium/util: add missing include X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08f64f91d12179ccc21d9b71ebe17eae96334def;p=mesa.git 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 Part-of: --- 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)