mirror of
https://github.com/hufrea/byedpi.git
synced 2024-12-22 06:15:14 +00:00
compile without sa_family_t
This commit is contained in:
parent
e406476610
commit
7dde94e3d2
3
extend.c
3
extend.c
@ -24,7 +24,8 @@
|
|||||||
#include "packets.h"
|
#include "packets.h"
|
||||||
|
|
||||||
#define KEY_SIZE sizeof(uint16_t) + \
|
#define KEY_SIZE sizeof(uint16_t) + \
|
||||||
sizeof(sa_family_t) + sizeof(struct sockaddr_in6)
|
sizeof(((struct sockaddr){}).sa_family) + \
|
||||||
|
sizeof(struct sockaddr_in6)
|
||||||
|
|
||||||
|
|
||||||
int set_timeout(int fd, unsigned int s)
|
int set_timeout(int fd, unsigned int s)
|
||||||
|
Loading…
Reference in New Issue
Block a user