blob: 9117877403893175ca8a66c82be7c3d7a228f71e [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From e262b6e7cc6271d71405f10c4817b9b3b2b95f05 Mon Sep 17 00:00:00 2001
2From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
3Date: Mon, 13 Dec 2021 02:00:48 +0100
4Subject: [PATCH] Include typeinfo for typeid()
5
6Otherwise fails with:
7 error: must '#include <typeinfo>' before using 'typeid'
8
9Upstream-Status: Submitted
10[https://github.com/dbus-cxx/dbus-cxx/pull/83]
11---
12 dbus-cxx/demangle.h | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/dbus-cxx/demangle.h b/dbus-cxx/demangle.h
16index b71bcb9..9a4e99b 100644
17--- a/dbus-cxx/demangle.h
18+++ b/dbus-cxx/demangle.h
19@@ -21,6 +21,7 @@
20 #define DBUSCXX_DEMANGLE_H
21
22 #include <string>
23+#include <typeinfo>
24 #include <dbus-cxx/dbus-cxx-config.h>
25
26 #if DBUS_CXX_HAS_CXXABI_H
27--
282.25.1
29