]> git.ipfire.org Git - thirdparty/snapper.git/commit
Fix build with GCC 12 (and musl) 743/head
authorSam James <sam@gentoo.org>
Fri, 2 Sep 2022 05:48:56 +0000 (06:48 +0100)
committerSam James <sam@gentoo.org>
Fri, 2 Sep 2022 05:49:29 +0000 (06:49 +0100)
commit3415229fd29fa3e5247e30ba1ac632e91e603c9f
tree055450b3ac650c2e4194cad85f60634c6d28dfc4
parentaecc0b742d39c449e8c40241e0a1baa20f9965e6
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 <ctime> to grab time_t.

Bug: https://bugs.gentoo.org/862094
Signed-off-by: Sam James <sam@gentoo.org>
dbus/DBusMessage.h