mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 05:40:13 +01:00
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:
parent
4ff21b4a47
commit
557120b593
5 changed files with 8 additions and 2 deletions
|
|
@ -33,6 +33,7 @@
|
|||
*/
|
||||
|
||||
#include "c11/threads.h"
|
||||
#include "util/detect_arch.h"
|
||||
#include "util/format/u_format.h"
|
||||
#include "util/format/u_format_s3tc.h"
|
||||
#include "util/u_math.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <u_format.h>
|
||||
#include "util/detect_arch.h"
|
||||
#include "util/format/u_format.h"
|
||||
|
||||
#if (DETECT_ARCH_AARCH64 || DETECT_ARCH_ARM) && !defined(NO_FORMAT_ASM) && !defined(__SOFTFP__)
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "detect_os.h"
|
||||
#include "util/detect.h"
|
||||
|
||||
|
||||
#if DETECT_OS_UNIX
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "util/detect_os.h"
|
||||
|
||||
#ifdef HAVE_LIBUNWIND
|
||||
#define UNW_LOCAL_ONLY
|
||||
#include <libunwind.h>
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@
|
|||
|
||||
#include "bitscan.h"
|
||||
#include "u_endian.h" /* for UTIL_ARCH_BIG_ENDIAN */
|
||||
#include "util/detect_cc.h"
|
||||
#include "util/detect_arch.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue