1 /* Define if your system defines struct sockaddr_storage */
2 #undef HAVE_STRUCT_SOCKADDR_STORAGE
3 
4 /* Define if your system uses access rights style file descriptor passing */
5 #undef HAVE_ACCRIGHTS_IN_MSGHDR
6 
7 /* Define if your system uses ancillary data style file descriptor passing */
8 #undef HAVE_CONTROL_IN_MSGHDR
9 
10 /* Define if the addr_cmp in libdnet is broken */
11 #undef HAVE_BROKEN_DNET
12 
13 /* Define to `unsigned int' if <sys/types.h> doesn't define.  */
14 #undef u_int
15 
16 /* Define to `unsigned long long' if <sys/types.h> doesn't define.  */
17 #undef u_int64_t
18 
19 /* Define to `unsigned int' if <sys/types.h> doesn't define.  */
20 #undef u_int32_t
21 
22 /* Define to `unsigned short' if <sys/types.h> doesn't define.  */
23 #undef u_int16_t
24 
25 /* Define to `unsigned char' if <sys/types.h> doesn't define.  */
26 #undef u_int8_t
27 
28 /* Define if timeradd is defined in <sys/time.h> */
29 #undef HAVE_TIMERADD
30 #ifndef HAVE_TIMERADD
31 #define timeradd(tvp, uvp, vvp)                                         \
32         do {                                                            \
33                 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec;          \
34                 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec;       \
35                 if ((vvp)->tv_usec >= 1000000) {                        \
36                         (vvp)->tv_sec++;                                \
37                         (vvp)->tv_usec -= 1000000;                      \
38                 }                                                       \
39         } while (0)
40 #define	timersub(tvp, uvp, vvp)						\
41 	do {								\
42 		(vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec;		\
43 		(vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec;	\
44 		if ((vvp)->tv_usec < 0) {				\
45 			(vvp)->tv_sec--;				\
46 			(vvp)->tv_usec += 1000000;			\
47 		}							\
48 	} while (0)
49 #endif /* !HAVE_TIMERADD */
50 
51 /* Define if isblank is defined in <ctype.h> */
52 #undef HAVE_ISBLANK
53 #ifndef HAVE_ISBLANK
54 #define isblank(x)	((x) == ' ' || (x) == '\t')
55 #endif
56 
57 #undef DL_NEED_UNDERSCORE
58 #undef NODLOPEN
59 #undef DLOPENLIBC
60 
61 @BOTTOM@
62 
63 /* Prototypes for missing functions */
64 #ifndef HAVE_STRLCPY
65 size_t	 strlcpy(char *, const char *, size_t);
66 #endif
67 
68 #ifndef HAVE_STRLCAT
69 size_t	 strlcat(char *, const char *, size_t);
70 #endif
71 
72 #ifndef HAVE_STRSEP
73 char	*strsep(char **, const char *);
74 #endif
75 
76 #ifndef HAVE_DAEMON
77 int	daemon(int, int);
78 #endif
79