treewide: Replace the usage of setenv manually and #include "util/os_misc.h" when needed
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Antonio Ospite <antonio.ospite@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38640>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#define DISK_CACHE_OS_H
|
||||
|
||||
#include "util/u_queue.h"
|
||||
#include "util/disk_cache.h"
|
||||
|
||||
#if DETECT_OS_WINDOWS
|
||||
|
||||
|
||||
@@ -39,9 +39,10 @@
|
||||
#include <utime.h>
|
||||
|
||||
#include "util/detect_os.h"
|
||||
#include "util/mesa-sha1.h"
|
||||
#include "util/disk_cache.h"
|
||||
#include "util/disk_cache_os.h"
|
||||
#include "util/disk_cache.h"
|
||||
#include "util/mesa-sha1.h"
|
||||
#include "util/os_misc.h"
|
||||
#include "util/ralloc.h"
|
||||
|
||||
#ifdef FOZ_DB_UTIL_DYNAMIC_LIST
|
||||
|
||||
@@ -23,7 +23,9 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <driconf.h>
|
||||
#include <xmlconfig.h>
|
||||
|
||||
#include "util/xmlconfig.h"
|
||||
#include "util/os_misc.h"
|
||||
|
||||
class xmlconfig_test : public ::testing::Test {
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user