amdvlk: fix build with gcc12
This commit is contained in:
committed by
Đoàn Trần Công Danh
parent
ddbf81ae75
commit
1e71fbe2a9
12
srcpkgs/amdvlk/patches/pal-missing-time-include.patch
Normal file
12
srcpkgs/amdvlk/patches/pal-missing-time-include.patch
Normal 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
|
||||||
Reference in New Issue
Block a user