diff options
Diffstat (limited to 'src/system/SocketUtil.hxx')
-rw-r--r-- | src/system/SocketUtil.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/system/SocketUtil.hxx b/src/system/SocketUtil.hxx index 3d0be78c4..5e582ec0d 100644 --- a/src/system/SocketUtil.hxx +++ b/src/system/SocketUtil.hxx @@ -26,11 +26,10 @@ #ifndef MPD_SOCKET_UTIL_HXX #define MPD_SOCKET_UTIL_HXX -#include "gerror.h" - #include <stddef.h> struct sockaddr; +class Error; /** * Creates a socket listening on the specified address. This is a @@ -50,7 +49,7 @@ int socket_bind_listen(int domain, int type, int protocol, const struct sockaddr *address, size_t address_length, int backlog, - GError **error); + Error &error); int socket_keepalive(int fd); |