fix: replace <arpa/inet.h> with platform_compat.h in chatgui (cross-platform ntohs)

This commit is contained in:
Evgeny committed 2026-07-18 00:48:11 +03:00
1 parent b8e7139b61
commit 1e0d9779d6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
#include <QLabel>
#include <QDateTime>
#include <QFont>
#include <arpa/inet.h>
#include "../../../lib/platform_compat.h"
static QString shortenKey(const QByteArray& key) {
if (key.size() < 8) return key.toHex(' ').toUpper();
+1 -1
View File
@@ -10,7 +10,7 @@
#include <QFont>
#include <cstring>
#include <arpa/inet.h>
#include "../../../lib/platform_compat.h"
static QString hex4(uint32_t v) {
return QString("%1").arg(v, 4, 16, QChar('0')).toUpper();