From 93f265c0a9eafb957916cee07aebee2110855f0b Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sat, 18 Jul 2026 00:48:11 +0300 Subject: [PATCH] fix: replace with platform_compat.h in chatgui (cross-platform ntohs) --- tools/chatgui/src/accountlist.cpp | 2 +- tools/chatgui/src/nodespage.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/chatgui/src/accountlist.cpp b/tools/chatgui/src/accountlist.cpp index a0b8a21c..8e941bd2 100644 --- a/tools/chatgui/src/accountlist.cpp +++ b/tools/chatgui/src/accountlist.cpp @@ -5,7 +5,7 @@ #include #include #include -#include +#include "../../../lib/platform_compat.h" static QString shortenKey(const QByteArray& key) { if (key.size() < 8) return key.toHex(' ').toUpper(); diff --git a/tools/chatgui/src/nodespage.cpp b/tools/chatgui/src/nodespage.cpp index 0833613e..0207be0d 100644 --- a/tools/chatgui/src/nodespage.cpp +++ b/tools/chatgui/src/nodespage.cpp @@ -10,7 +10,7 @@ #include #include -#include +#include "../../../lib/platform_compat.h" static QString hex4(uint32_t v) { return QString("%1").arg(v, 4, 16, QChar('0')).toUpper();