diff --git a/src/net/StaticSocketAddress.cxx b/src/net/StaticSocketAddress.cxx index b9bd01aeb..20dd175c6 100644 --- a/src/net/StaticSocketAddress.cxx +++ b/src/net/StaticSocketAddress.cxx @@ -57,7 +57,7 @@ StaticSocketAddress::operator==(const StaticSocketAddress &other) const memcmp(&address, &other.address, size) == 0; } -#ifdef HAVE_UN +#if defined(HAVE_UN) && !defined(__BIONIC__) void StaticSocketAddress::SetLocal(const char *path) diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx index 4cf294c1e..72180f0bc 100644 --- a/src/net/StaticSocketAddress.hxx +++ b/src/net/StaticSocketAddress.hxx @@ -64,7 +64,7 @@ public: size); } -#ifdef HAVE_UN +#if defined(HAVE_UN) && !defined(__BIONIC__) /** * Make this a "local" address (UNIX domain socket). */