From: Waldemar Kozaczuk <[email protected]> Committer: Nadav Har'El <[email protected]> Branch: master
libc: replace include/api/x64/bits/socket.h with a symlink to musl copy This file is identical to musl copy except for added #ifndef OSV_BITS_SOCKET_H ... which may have been necessary at some point but it is not now. Signed-off-by: Waldemar Kozaczuk <[email protected]> Message-Id: <[email protected]> --- diff --git a/include/api/x64/bits/socket.h b/include/api/x64/bits/socket.h --- a/include/api/x64/bits/socket.h +++ b/include/api/x64/bits/socket.h @@ -1,22 +0,0 @@ -#ifndef OSV_BITS_SOCKET_H -#define OSV_BITS_SOCKET_H - -struct msghdr -{ - void *msg_name; - socklen_t msg_namelen; - struct iovec *msg_iov; - int msg_iovlen, __pad1; - void *msg_control; - socklen_t msg_controllen, __pad2; - int msg_flags; -}; - -struct cmsghdr -{ - socklen_t cmsg_len; - int __pad1; - int cmsg_level; - int cmsg_type; -}; -#endif diff --git a/include/api/x64/bits/socket.h b/include/api/x64/bits/socket.h --- a/include/api/x64/bits/socket.h +++ b/include/api/x64/bits/socket.h @@ -0,0 +1 @@ +../../../../musl/arch/x86_64/bits/socket.h \ No newline at end of file -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/000000000000e5018c05ae197193%40google.com.
