meson: Search for execinfo.h
[mesa.git] / src / mesa / drivers / dri / i915 / intel_regions.c
index fee734801cd9caa5f7c114368e46202216cc276c..803ea9326e85d8096a3176c93fbda5077e9f4788 100644 (file)
@@ -57,7 +57,7 @@
  */
 #define DEBUG_BACKTRACE_SIZE 0
 
-#if DEBUG_BACKTRACE_SIZE == 0
+#if DEBUG_BACKTRACE_SIZE == 0 || !defined(HAVE_EXECINFO_H)
 /* Use the standard debug output */
 #define _DBG(...) DBG(__VA_ARGS__)
 #else