From: Sam James Date: Fri, 2 Sep 2022 05:48:56 +0000 (+0100) Subject: Fix build with GCC 12 (and musl) X-Git-Tag: v0.10.3~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F743%2Fhead;p=thirdparty%2Fsnapper.git Fix build with GCC 12 (and musl) ``` DBusMessage.h:239:34: error: 'time_t' has not been declared 239 | Hihi& operator>>(Hihi& hihi, time_t& data); ``` Include to grab time_t. Bug: https://bugs.gentoo.org/862094 Signed-off-by: Sam James --- diff --git a/dbus/DBusMessage.h b/dbus/DBusMessage.h index 97ff5648..4d5ce374 100644 --- a/dbus/DBusMessage.h +++ b/dbus/DBusMessage.h @@ -27,6 +27,7 @@ #include +#include #include #include #include