summaryrefslogtreecommitdiff
path: root/Libraries/LibC/sys
diff options
context:
space:
mode:
authorSergio Ahumada <sahumada@texla.cl>2020-08-26 00:39:07 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-26 00:46:04 +0200
commit9ba3862ee94a4b76f71c86b75cb9a77f91f672bf (patch)
tree481f17490388645d9206ff07e3642746b41ccb67 /Libraries/LibC/sys
parent777b298880bbcac15213616adf0edf2e14255791 (diff)
downloadserenity-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.h2
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;
};
};