f41655cb5d
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd-utils?expand=0&rev=142
46 lines
1.2 KiB
Diff
46 lines
1.2 KiB
Diff
From feebd378195cf18b06f9fa209586af0c6d32ddb8 Mon Sep 17 00:00:00 2001
|
|
From: Sam James <sam@gentoo.org>
|
|
Date: Thu, 27 Jul 2023 06:30:25 +0100
|
|
Subject: [PATCH] user: drbrdmon: add missing <stdint.h> includes
|
|
|
|
GCC 13 drops some transitive includes within libstdc++.
|
|
|
|
Explicitly include <stdint.h> for uint32_t etc.
|
|
|
|
Note that using <stdint.h> deliberately because we're not using std::-prefixed
|
|
types.
|
|
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
---
|
|
user/drbdmon/DrbdMonConsts.h | 1 +
|
|
user/drbdmon/terminal/DisplayId.h | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/user/drbdmon/DrbdMonConsts.h b/user/drbdmon/DrbdMonConsts.h
|
|
index 73d25f28fbeb..f962d0d38a6d 100644
|
|
--- a/user/drbdmon/DrbdMonConsts.h
|
|
+++ b/user/drbdmon/DrbdMonConsts.h
|
|
@@ -1,6 +1,7 @@
|
|
#ifndef DRBDMONCONSTS_H
|
|
#define DRBDMONCONSTS_H
|
|
|
|
+#include <stdint.h>
|
|
#include <string>
|
|
|
|
class DrbdMonConsts
|
|
diff --git a/user/drbdmon/terminal/DisplayId.h b/user/drbdmon/terminal/DisplayId.h
|
|
index 40d3de488fd9..fa4b744438d4 100644
|
|
--- a/user/drbdmon/terminal/DisplayId.h
|
|
+++ b/user/drbdmon/terminal/DisplayId.h
|
|
@@ -1,6 +1,7 @@
|
|
#ifndef DISPLAYID_H
|
|
#define DISPLAYID_H
|
|
|
|
+#include <stdint.h>
|
|
#include <string>
|
|
|
|
class DisplayId
|
|
--
|
|
2.35.3
|
|
|