1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:27:45 +00:00

LibC: Prospective fix for openssl build

serenity/Build/Root/usr/include/sys/socket.h:93:26: error: 'sockaddr_un' undeclared here (not in a function)
   93 |         char data[sizeof(sockaddr_un)];
      |                          ^~~~~~~~~~~
make[2]: *** [<builtin>: bss_fd.o] Error 1
This commit is contained in:
Sergio Ahumada 2020-08-26 00:39:07 +02:00 committed by Andreas Kling
parent 777b298880
commit 9ba3862ee9

View file

@ -90,7 +90,7 @@ struct ucred {
struct sockaddr_storage {
union {
char data[sizeof(sockaddr_un)];
char data[sizeof(struct sockaddr_un)];
void* alignment;
};
};