X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=socket-util.h;h=7dd832eaca86d6a19f262e04d627c38c243012db;hp=1f939ae2d5c52bc72785ad9996352a6b1e9b3d83;hb=acbb02252a38214ecba3aa8a5c9b3669f9c9317e;hpb=b858b600e46f4a25ddc9fb980e5a73ca5aa2690f 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