net/StaticSocketAddress: include <string_view> only ifdef HAVE_UN

This commit is contained in:
Max Kellermann 2024-04-29 16:36:08 +02:00 committed by Max Kellermann
parent 1760310123
commit 6200c0dc46

View File

@ -7,7 +7,10 @@
#include "Features.hxx"
#include <cassert>
#ifdef HAVE_UN
#include <string_view>
#endif
/**
* An OO wrapper for struct sockaddr_storage.