mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 04:56:10 +02:00
BUILD: sock_inet: forward-declare struct receiver
Including sock_inet.h without receiver-t.h causes build failures due to struct receiver not being defined. Let's just forward-declare it.
This commit is contained in:
parent
e1a0107f9c
commit
968a4f34fc
@ -34,6 +34,9 @@ extern int sock_inet6_tcp_maxseg_default;
|
||||
extern struct proto_fam proto_fam_inet4;
|
||||
extern struct proto_fam proto_fam_inet6;
|
||||
|
||||
/* extrenal types */
|
||||
struct receiver;
|
||||
|
||||
int sock_inet4_addrcmp(const struct sockaddr_storage *a, const struct sockaddr_storage *b);
|
||||
int sock_inet6_addrcmp(const struct sockaddr_storage *a, const struct sockaddr_storage *b);
|
||||
void sock_inet_set_port(struct sockaddr_storage *addr, int port);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user