diff options
author | Sergio Ahumada <sahumada@texla.cl> | 2020-08-26 00:39:07 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-26 00:46:04 +0200 |
commit | 9ba3862ee94a4b76f71c86b75cb9a77f91f672bf (patch) | |
tree | 481f17490388645d9206ff07e3642746b41ccb67 /Libraries/LibC/sys | |
parent | 777b298880bbcac15213616adf0edf2e14255791 (diff) | |
download | serenity-9ba3862ee94a4b76f71c86b75cb9a77f91f672bf.zip |
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
Diffstat (limited to 'Libraries/LibC/sys')
-rw-r--r-- | Libraries/LibC/sys/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibC/sys/socket.h b/Libraries/LibC/sys/socket.h index bdcaf713e2..f14e1d7005 100644 --- a/Libraries/LibC/sys/socket.h +++ b/Libraries/LibC/sys/socket.h @@ -90,7 +90,7 @@ struct ucred { struct sockaddr_storage { union { - char data[sizeof(sockaddr_un)]; + char data[sizeof(struct sockaddr_un)]; void* alignment; }; }; |