Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23577>
#include "util/compiler.h"
-#include "util/detect.h"
-#include "util/macros.h"
-
-#include <limits.h>
-#include <stdarg.h>
-#include <stdbool.h>
-#include <stddef.h>
-#include <stdint.h>
-#include <stdlib.h>
-#include <string.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-#if !defined(__HAIKU__) && !defined(__USE_MISC)
-#if !DETECT_OS_ANDROID
-typedef unsigned int uint;
-#endif
-typedef unsigned short ushort;
-#endif
-typedef unsigned char ubyte;
-
-typedef unsigned char boolean;
-#ifndef TRUE
-#define TRUE true
-#endif
-#ifndef FALSE
-#define FALSE false
-#endif
-
-#if defined(__cplusplus)
-}
-#endif
-
#endif /* P_COMPILER_H */
#include <assert.h>
+#include <limits.h>
+#include <stdarg.h>
+#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <stdlib.h>
+#include <string.h>
+#include "util/detect.h"
#include "util/macros.h"
-#include "util/u_endian.h"
-#include "util/detect_arch.h"
/**
* Define CPU_TO_LE32
#define FALLTHROUGH do { } while(0)
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#if !defined(__HAIKU__) && !defined(__USE_MISC)
+#if !DETECT_OS_ANDROID
+typedef unsigned int uint;
+#endif
+#endif
+
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* COMPILER_H */