aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/SocketUtil.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/SocketUtil.hxx')
-rw-r--r--src/net/SocketUtil.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/SocketUtil.hxx b/src/net/SocketUtil.hxx
index ad02ef481..c0a0c95db 100644
--- a/src/net/SocketUtil.hxx
+++ b/src/net/SocketUtil.hxx
@@ -26,9 +26,7 @@
#ifndef MPD_SOCKET_UTIL_HXX
#define MPD_SOCKET_UTIL_HXX
-#include <stddef.h>
-
-struct sockaddr;
+class SocketAddress;
class Error;
/**
@@ -47,7 +45,7 @@ class Error;
*/
int
socket_bind_listen(int domain, int type, int protocol,
- const struct sockaddr *address, size_t address_length,
+ SocketAddress address,
int backlog,
Error &error);