summaryrefslogtreecommitdiff
path: root/socket-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket-util.h')
-rw-r--r--socket-util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/socket-util.h b/socket-util.h
index 1f939ae2d5..7dd832eaca 100644
--- a/socket-util.h
+++ b/socket-util.h
@@ -6,6 +6,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
+#include <net/if.h>
#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