summaryrefslogtreecommitdiff
path: root/devel/level-zero/files/patch-source-utils-logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/level-zero/files/patch-source-utils-logging.h')
-rw-r--r--devel/level-zero/files/patch-source-utils-logging.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/level-zero/files/patch-source-utils-logging.h b/devel/level-zero/files/patch-source-utils-logging.h
index be4fd8e2d421..848fc7516473 100644
--- a/devel/level-zero/files/patch-source-utils-logging.h
+++ b/devel/level-zero/files/patch-source-utils-logging.h
@@ -1,18 +1,20 @@
---- source/utils/logging.h.orig 2025-04-10 20:05:03 UTC
+--- source/utils/logging.h.orig 2025-05-23 14:18:52 UTC
+++ source/utils/logging.h
-@@ -29,11 +29,9 @@
+@@ -29,11 +29,11 @@
#include "ze_api.h"
#include "ze_util.h"
-#ifdef __linux__
++#if defined(__FreeBSD__) || defined(__linux__)
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
-#endif // __linux__
++#endif // defined(__FreeBSD__) || defined(__linux__)
namespace loader {
-@@ -235,4 +233,4 @@ inline std::shared_ptr<Logger> createLogger() {
+@@ -235,4 +235,4 @@ inline std::shared_ptr<Logger> createLogger() {
} // namespace loader