X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=socket-util.h;h=7dd832eaca86d6a19f262e04d627c38c243012db;hb=acbb02252a38214ecba3aa8a5c9b3669f9c9317e;hp=1f939ae2d5c52bc72785ad9996352a6b1e9b3d83;hpb=83c60c9f0c7581b607dc5c0f84582978894e3d4a;p=elogind.git diff --git a/socket-util.h b/socket-util.h index 1f939ae2d..7dd832eac 100644 --- a/socket-util.h +++ b/socket-util.h @@ -6,6 +6,7 @@ #include #include #include +#include #include "macro.h" #include "util.h" @@ -38,6 +39,6 @@ typedef enum SocketAddressBindIPv6Only { int socket_address_parse(SocketAddress *a, const char *s); int socket_address_print(const SocketAddress *a, char **p); int socket_address_verify(const SocketAddress *a); -int socket_address_listen(const SocketAddress *a, int backlog, SocketAddressBindIPv6Only only, int *ret); +int socket_address_listen(const SocketAddress *a, int backlog, SocketAddressBindIPv6Only only, const char *bind_to_device, int *ret); #endif