util: Include the needed util/detect*.h headers in multiple files
This is discovered either by manually or -W-no-def option Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19674>
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "util/detect_os.h"
|
||||
|
||||
#ifdef HAVE_LIBUNWIND
|
||||
#define UNW_LOCAL_ONLY
|
||||
#include <libunwind.h>
|
||||
|
||||
Reference in New Issue
Block a user