//===-- SocketAddress.h -----------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_HOST_SOCKETADDRESS_H #define LLDB_HOST_SOCKETADDRESS_H #include <cstdint> #ifdef _WIN32 #include "lldb/Host/windows/windows.h" #include <winsock2.h> #include <ws2tcpip.h> typedef ADDRESS_FAMILY sa_family_t; #else #include <netdb.h> #include <netinet/in.h> #include <sys/socket.h> #endif #if defined(__FreeBSD__) #include <sys/types.h> #endif #include <string> #include <vector> namespace lldb_private { class SocketAddress { … }; } // namespace lldb_private #endif // LLDB_HOST_SOCKETADDRESS_H