comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/ares_build.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 69:33d812a61356
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 socklen_t
9 #define CARES_TYPEOF_ARES_SSIZE_T 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 #define CARES_HAVE_SYS_TYPES_H
15 #define CARES_HAVE_SYS_SOCKET_H
16 #define CARES_HAVE_SYS_SELECT_H
17 /* #undef CARES_HAVE_WINDOWS_H */
18 /* #undef CARES_HAVE_WS2TCPIP_H */
19 /* #undef CARES_HAVE_WINSOCK2_H */
20 #define CARES_HAVE_ARPA_NAMESER_H
21 #define 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 */