version 1.6.2.1, 2013/09/29 23:28:48 |
version 1.6.2.4, 2013/12/31 23:19:04 |
|
|
#endif |
#endif |
|
|
#ifndef HAVE_BETOH64 |
#ifndef HAVE_BETOH64 |
#define betoh64(x) be64toh(x) |
# if defined(__APPLE__) |
|
# define betoh64(x) OSSwapBigToHostInt64(x) |
|
# define htobe64(x) OSSwapHostToBigInt64(x) |
|
# elif defined(__sun) |
|
# define betoh64(x) BE_64(x) |
|
# define htobe64(x) BE_64(x) |
|
# else |
|
# define betoh64(x) be64toh(x) |
|
# endif |
#endif |
#endif |
|
|
|
#ifndef HAVE_STRCASESTR |
|
extern char *strcasestr(const char *, const char *); |
|
#endif |
#ifndef HAVE_STRLCAT |
#ifndef HAVE_STRLCAT |
extern size_t strlcat(char *, const char *, size_t); |
extern size_t strlcat(char *, const char *, size_t); |
#endif |
#endif |
#ifndef HAVE_STRLCPY |
#ifndef HAVE_STRLCPY |
extern size_t strlcpy(char *, const char *, size_t); |
extern size_t strlcpy(char *, const char *, size_t); |
|
#endif |
|
#ifndef HAVE_STRSEP |
|
extern char *strsep(char **, const char *); |
#endif |
#endif |
#ifndef HAVE_GETSUBOPT |
#ifndef HAVE_GETSUBOPT |
extern int getsubopt(char **, char * const *, char **); |
extern int getsubopt(char **, char * const *, char **); |