mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
amdvlk: fix build with gcc12
This commit is contained in:
parent
ddbf81ae75
commit
1e71fbe2a9
1 changed files with 12 additions and 0 deletions
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
|
Loading…
Add table
Reference in a new issue