ares_build.h.cmake (1156B)
1 #ifndef __CARES_BUILD_H 2 #define __CARES_BUILD_H 3 /* 4 * Copyright (C) The c-ares project and its contributors 5 * SPDX-License-Identifier: MIT 6 */ 7 8 #define CARES_TYPEOF_ARES_SOCKLEN_T @CARES_TYPEOF_ARES_SOCKLEN_T@ 9 #define CARES_TYPEOF_ARES_SSIZE_T @CARES_TYPEOF_ARES_SSIZE_T@ 10 11 /* Prefix names with CARES_ to make sure they don't conflict with other config.h 12 * files. We need to include some dependent headers that may be system specific 13 * for C-Ares */ 14 #cmakedefine CARES_HAVE_SYS_TYPES_H 15 #cmakedefine CARES_HAVE_SYS_SOCKET_H 16 #cmakedefine CARES_HAVE_SYS_SELECT_H 17 #cmakedefine CARES_HAVE_WINDOWS_H 18 #cmakedefine CARES_HAVE_WS2TCPIP_H 19 #cmakedefine CARES_HAVE_WINSOCK2_H 20 #cmakedefine CARES_HAVE_ARPA_NAMESER_H 21 #cmakedefine CARES_HAVE_ARPA_NAMESER_COMPAT_H 22 23 #ifdef CARES_HAVE_SYS_TYPES_H 24 # include <sys/types.h> 25 #endif 26 27 #ifdef CARES_HAVE_SYS_SOCKET_H 28 # include <sys/socket.h> 29 #endif 30 31 #ifdef CARES_HAVE_SYS_SELECT_H 32 # include <sys/select.h> 33 #endif 34 35 #ifdef CARES_HAVE_WINSOCK2_H 36 # include <winsock2.h> 37 #endif 38 39 #ifdef CARES_HAVE_WS2TCPIP_H 40 # include <ws2tcpip.h> 41 #endif 42 43 #ifdef CARES_HAVE_WINDOWS_H 44 # include <windows.h> 45 #endif 46 47 #endif /* __CARES_BUILD_H */