1324c9471Sopenharmony_ci#ifndef __CARES_BUILD_H 2324c9471Sopenharmony_ci#define __CARES_BUILD_H 3324c9471Sopenharmony_ci 4324c9471Sopenharmony_ci#define CARES_TYPEOF_ARES_SOCKLEN_T @CARES_TYPEOF_ARES_SOCKLEN_T@ 5324c9471Sopenharmony_ci#define CARES_TYPEOF_ARES_SSIZE_T @CARES_TYPEOF_ARES_SSIZE_T@ 6324c9471Sopenharmony_ci 7324c9471Sopenharmony_ci/* Prefix names with CARES_ to make sure they don't conflict with other config.h 8324c9471Sopenharmony_ci * files. We need to include some dependent headers that may be system specific 9324c9471Sopenharmony_ci * for C-Ares */ 10324c9471Sopenharmony_ci#cmakedefine CARES_HAVE_SYS_TYPES_H 11324c9471Sopenharmony_ci#cmakedefine CARES_HAVE_SYS_SOCKET_H 12324c9471Sopenharmony_ci#cmakedefine CARES_HAVE_WINDOWS_H 13324c9471Sopenharmony_ci#cmakedefine CARES_HAVE_WS2TCPIP_H 14324c9471Sopenharmony_ci#cmakedefine CARES_HAVE_WINSOCK2_H 15324c9471Sopenharmony_ci#cmakedefine CARES_HAVE_WINDOWS_H 16324c9471Sopenharmony_ci#cmakedefine CARES_HAVE_ARPA_NAMESER_H 17324c9471Sopenharmony_ci#cmakedefine CARES_HAVE_ARPA_NAMESER_COMPAT_H 18324c9471Sopenharmony_ci 19324c9471Sopenharmony_ci#ifdef CARES_HAVE_SYS_TYPES_H 20324c9471Sopenharmony_ci# include <sys/types.h> 21324c9471Sopenharmony_ci#endif 22324c9471Sopenharmony_ci 23324c9471Sopenharmony_ci#ifdef CARES_HAVE_SYS_SOCKET_H 24324c9471Sopenharmony_ci# include <sys/socket.h> 25324c9471Sopenharmony_ci#endif 26324c9471Sopenharmony_ci 27324c9471Sopenharmony_ci#ifdef CARES_HAVE_WINSOCK2_H 28324c9471Sopenharmony_ci# include <winsock2.h> 29324c9471Sopenharmony_ci#endif 30324c9471Sopenharmony_ci 31324c9471Sopenharmony_ci#ifdef CARES_HAVE_WS2TCPIP_H 32324c9471Sopenharmony_ci# include <ws2tcpip.h> 33324c9471Sopenharmony_ci#endif 34324c9471Sopenharmony_ci 35324c9471Sopenharmony_ci#ifdef CARES_HAVE_WINDOWS_H 36324c9471Sopenharmony_ci# include <windows.h> 37324c9471Sopenharmony_ci#endif 38324c9471Sopenharmony_ci 39324c9471Sopenharmony_ci 40324c9471Sopenharmony_citypedef CARES_TYPEOF_ARES_SOCKLEN_T ares_socklen_t; 41324c9471Sopenharmony_citypedef CARES_TYPEOF_ARES_SSIZE_T ares_ssize_t; 42324c9471Sopenharmony_ci 43324c9471Sopenharmony_ci#endif /* __CARES_BUILD_H */ 44