33 |
|
#include <stddef.h> |
34 |
|
#include <stdlib.h> |
35 |
|
#include <string.h> |
36 |
+ |
#include <stdint.h> |
37 |
+ |
#include <errno.h> |
38 |
|
|
39 |
|
#ifdef HAVE_STRTOK_R |
40 |
|
# define strtoken(x, y, z) strtok_r(y, z, x) |
42 |
|
|
43 |
|
#include <sys/types.h> |
44 |
|
|
43 |
– |
#ifdef HAVE_INTTYPES_H |
44 |
– |
#include <inttypes.h> |
45 |
– |
#else |
46 |
– |
#ifdef HAVE_STDINT_H |
47 |
– |
#include <stdint.h> |
48 |
– |
#endif |
49 |
– |
#endif |
50 |
– |
|
45 |
|
#ifdef HAVE_CRYPT_H |
46 |
|
#include <crypt.h> |
47 |
|
#endif |
87 |
|
#include <sys/param.h> |
88 |
|
#endif |
89 |
|
|
90 |
< |
#ifdef HAVE_ERRNO_H |
91 |
< |
#include <errno.h> |
90 |
> |
#ifdef PATH_MAX |
91 |
> |
#define HYB_PATH_MAX PATH_MAX |
92 |
> |
#else |
93 |
> |
#define HYB_PATH_MAX 4096 |
94 |
> |
#endif |
95 |
> |
|
96 |
> |
#if 0 && __GNUC__ |
97 |
> |
#define AFP(a,b) __attribute__((format (printf, a, b))) |
98 |
|
#else |
99 |
< |
extern int errno; |
99 |
> |
#define AFP(a,b) |
100 |
|
#endif |
101 |
|
|
102 |
– |
#include "inet_misc.h" |
102 |
|
#endif |