mirror of https://github.com/F-Stack/f-stack.git
modify `struct linux_sockaddr` same to `struct sockaddr` in linux.
This commit is contained in:
parent
e846ec3310
commit
71d1223396
|
@ -41,7 +41,7 @@ extern "C" {
|
||||||
|
|
||||||
struct linux_sockaddr {
|
struct linux_sockaddr {
|
||||||
short sa_family;
|
short sa_family;
|
||||||
char sa_data[126];
|
char sa_data[14];
|
||||||
};
|
};
|
||||||
|
|
||||||
#define AF_INET6_LINUX 10
|
#define AF_INET6_LINUX 10
|
||||||
|
|
Loading…
Reference in New Issue