diff options
author | Max Kellermann <max@duempel.org> | 2013-01-15 21:42:55 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-15 21:42:55 +0100 |
commit | bc66dc45e6450c67320ba0408d5c34ebcafa0cb6 (patch) | |
tree | 1c1950c8c6c567325be09d4f5ed2780d6008d35f /src/socket_util.h | |
parent | 70879356560d9b7f0343cc0f0cbd8331984cf96a (diff) | |
download | mpd-bc66dc45e6450c67320ba0408d5c34ebcafa0cb6.tar.gz mpd-bc66dc45e6450c67320ba0408d5c34ebcafa0cb6.tar.xz mpd-bc66dc45e6450c67320ba0408d5c34ebcafa0cb6.zip |
server_socket: convert to C++
Diffstat (limited to 'src/socket_util.h')
-rw-r--r-- | src/socket_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/socket_util.h b/src/socket_util.h index 4cf845d8e..3f602cd53 100644 --- a/src/socket_util.h +++ b/src/socket_util.h @@ -32,6 +32,10 @@ struct sockaddr; +#ifdef __cplusplus +extern "C" { +#endif + /** * Creates a socket listening on the specified address. This is a * shortcut for socket(), bind() and listen(). @@ -55,4 +59,8 @@ socket_bind_listen(int domain, int type, int protocol, int socket_keepalive(int fd); +#ifdef __cplusplus +} +#endif + #endif |