1 #ifndef _SK_LIBPORTABLE_
2 #define _SK_LIBPORTABLE_
3 
4 #ifdef HAVE_CONFIG_H
5 #include "../include/config.h"
6 #endif
7 
8 #ifndef HAVE_GETOPT
9 #include "getopt.h"
10 #endif
11 
12 #ifndef HAVE_GETOPT_LONG
13 #include "getopt.h"
14 #endif
15 
16 #ifndef HAVE_STRLCPY
17 size_t strlcpy(char *dst, const char *src, size_t size);
18 #endif
19 
20 #ifndef HAVE_STRLCAT
21 size_t strlcat(char *dst, const char *src, size_t size);
22 #endif
23 
24 #ifndef HAVE_INET_ATON
25 int inet_aton(const char *cp, struct in_addr *inp);
26 #endif
27 
28 #ifndef HAVE_INET_NTOP
29  const char *inet_ntop(int af, const void *src, char *dst, size_t cnt);
30 #endif
31 
32 #ifndef HAVE_STRERROR
33 char *strerror(int errnum);
34 #endif
35 
36 #ifndef HAVE_STRCASECMP
37 int strcasecmp(const char *s1, const char *s2);
38 #endif
39 
40 
41 
42 #endif /* _SK_LIBPORTABLE_ */
43