net/SocketAddress: include IPv[46]Address.hxx only ifdef HAVE_TCP

This commit is contained in:
Max Kellermann 2024-04-29 16:45:22 +02:00 committed by Max Kellermann
parent f8529d4fe6
commit cbba22c947

View File

@ -2,8 +2,11 @@
// author: Max Kellermann <max.kellermann@gmail.com>
#include "SocketAddress.hxx"
#ifdef HAVE_TCP
#include "IPv4Address.hxx"
#include "IPv6Address.hxx"
#endif
#include <cassert>
#include <cstring>