diff --git a/io/io_receivefd.c b/io/io_receivefd.c index 0967235..c0be607 100644 --- a/io/io_receivefd.c +++ b/io/io_receivefd.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -6,7 +7,7 @@ union fdmsg { struct cmsghdr h; - char buf[CMSG_SPACE(sizeof(int))]; + char buf[1000]; }; int64 io_receivefd(int64 sock) {