mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-19 02:29:31 -05: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue