summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-10-14 20:48:41 +0200
committerMax Kellermann <max@musicpd.org>2020-10-15 15:01:19 +0200
commited3d8222d6bb04480ac6a22fbe193f964eec31f7 (patch)
tree4b94337fe4fd34ac4d296bd79ed9db33e9d9fbd1 /src/net
parent41c0bbab130fe5416755caab24897affc28a93e3 (diff)
net/SocketAddress: include cleanup
Diffstat (limited to 'src/net')
-rw-r--r--src/net/SocketAddress.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/SocketAddress.cxx b/src/net/SocketAddress.cxx
index 3635d13dd..4cba91d30 100644
--- a/src/net/SocketAddress.cxx
+++ b/src/net/SocketAddress.cxx
@@ -33,8 +33,7 @@
#include "util/StringView.hxx"
#include <cassert>
-
-#include <string.h>
+#include <cstring>
#ifdef HAVE_UN
#include <sys/un.h>