From 6200c0dc46999715c376eb7d36b9511d80b6aa81 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 29 Apr 2024 16:36:08 +0200 Subject: [PATCH] net/StaticSocketAddress: include only ifdef HAVE_UN --- src/net/StaticSocketAddress.hxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx index cb2118cff..2c040c508 100644 --- a/src/net/StaticSocketAddress.hxx +++ b/src/net/StaticSocketAddress.hxx @@ -7,7 +7,10 @@ #include "Features.hxx" #include + +#ifdef HAVE_UN #include +#endif /** * An OO wrapper for struct sockaddr_storage.