1 //===-- Proxy for struct msghdr ------------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 #ifndef LLVM_LIBC_HDR_TYPES_STRUCT_MSGHDR_H 9 #define LLVM_LIBC_HDR_TYPES_STRUCT_MSGHDR_H 10 11 #ifdef LIBC_FULL_BUILD 12 13 #include "include/llvm-libc-types/struct_msghdr.h" 14 15 #else 16 17 #include <sys/socket.h> 18 19 #endif // LIBC_FULL_BUILD 20 21 #endif // LLVM_LIBC_HDR_TYPES_STRUCT_MSGHDR_H 22