[TySan] Don't report globals with incomplete types. (#121922)
[llvm-project.git] / libc / hdr / types / struct_sockaddr.h
blob0fc31d53748540b197bb20f5494f45ab027dd4da
1 //===-- Proxy for struct sockaddr ----------------------------------------===//
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_SOCKADDR_H
9 #define LLVM_LIBC_HDR_TYPES_STRUCT_SOCKADDR_H
11 #ifdef LIBC_FULL_BUILD
13 #include "include/llvm-libc-types/struct_sockaddr.h"
15 #else
17 #include <sys/socket.h>
19 #endif // LIBC_FULL_BUILD
21 #endif // LLVM_LIBC_HDR_TYPES_STRUCT_SOCKADDR_H