toolkit: Fix inclusion of C++ header
authorCarsten Schoenert <c.schoenert@t-online.de>
Wed, 26 Jul 2023 17:52:12 +0000 (19:52 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Thu, 14 Sep 2023 03:42:52 +0000 (04:42 +0100)
<cinttypes> isn't included so the compilation with gcc13 will be broken.
Adding the needed header for C integer types in toolkit/ folder.

Gbp-Pq: Topic fixes
Gbp-Pq: Name toolkit-Fix-inclusion-of-C-header.patch

toolkit/components/telemetry/pingsender/pingsender.cpp

index 01fdb63c298a8686547dc8b80f2340616ba2bc3a..03b0c6df04e55763b0b8fde370b2889d13e38bce 100644 (file)
@@ -3,6 +3,7 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+#include <cinttypes>
 #include <cstdlib>
 #include <cstring>
 #include <ctime>