lvm2/0055-log-add-string.h.patch
Marian Csontos c4f4bc1948 Additional patches for 9.8.0 lvm2
Resolves: RHEL-116883
2026-01-15 19:33:49 +01:00

28 lines
622 B
Diff

From 9248e4fa05534a0865a7fad4b0bb76ca85c4dd55 Mon Sep 17 00:00:00 2001
From: Zdenek Kabelac <zkabelac@redhat.com>
Date: Sun, 14 Dec 2025 21:54:29 +0100
Subject: [PATCH 55/57] log: add string.h
Header file is using strerror() from <string.h>.
(cherry picked from commit e8d744e8bdb8386ab5754015e6511d0431d76f04)
---
lib/log/log.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/log/log.h b/lib/log/log.h
index 6efe5a66b..287db00e5 100644
--- a/lib/log/log.h
+++ b/lib/log/log.h
@@ -38,6 +38,7 @@
*/
#include <errno.h>
+#include <string.h>
#define EUNCLASSIFIED -1 /* Generic error code */
--
2.52.0