Annotation of mandoc/config.h.post, Revision 1.6.2.1
1.1 kristaps 1: #include <sys/types.h>
2:
3: #if !defined(__BEGIN_DECLS)
4: # ifdef __cplusplus
5: # define __BEGIN_DECLS extern "C" {
6: # else
7: # define __BEGIN_DECLS
8: # endif
9: #endif
10: #if !defined(__END_DECLS)
11: # ifdef __cplusplus
12: # define __END_DECLS }
13: # else
14: # define __END_DECLS
15: # endif
16: #endif
17:
1.6.2.1 ! schwarze 18: #ifndef HAVE_BETOH64
! 19: #define betoh64(x) be64toh(x)
! 20: #endif
1.1 kristaps 21: #ifndef HAVE_STRLCAT
22: extern size_t strlcat(char *, const char *, size_t);
23: #endif
24: #ifndef HAVE_STRLCPY
25: extern size_t strlcpy(char *, const char *, size_t);
26: #endif
1.2 kristaps 27: #ifndef HAVE_GETSUBOPT
28: extern int getsubopt(char **, char * const *, char **);
29: extern char *suboptarg;
30: #endif
1.4 kristaps 31: #ifndef HAVE_FGETLN
32: extern char *fgetln(FILE *, size_t *);
33: #endif
1.1 kristaps 34:
35: #endif /* MANDOC_CONFIG_H */
CVSweb