amdvlk: fix build with gcc12

This commit is contained in:
oreo639 2022-10-19 02:09:09 -07:00 committed by Đoàn Trần Công Danh
parent ddbf81ae75
commit 1e71fbe2a9
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff --git a/pal/src/util/lnx/lnxUuid.cpp b/pal/src/util/lnx/lnxUuid.cpp
index 603db2a7..56c5d1f4 100644
--- a/pal/src/util/lnx/lnxUuid.cpp
+++ b/pal/src/util/lnx/lnxUuid.cpp
@@ -29,6 +29,7 @@
#include "util/imported/libuuid/libuuid.h"
#include <random>
+#include <time.h>
#include <unistd.h>
namespace Util