Annotation of mandoc/config.h.post, Revision 1.6
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:
18: #ifndef HAVE_STRLCAT
19: extern size_t strlcat(char *, const char *, size_t);
20: #endif
21: #ifndef HAVE_STRLCPY
22: extern size_t strlcpy(char *, const char *, size_t);
23: #endif
1.2 kristaps 24: #ifndef HAVE_GETSUBOPT
25: extern int getsubopt(char **, char * const *, char **);
26: extern char *suboptarg;
27: #endif
1.4 kristaps 28: #ifndef HAVE_FGETLN
29: extern char *fgetln(FILE *, size_t *);
30: #endif
1.1 kristaps 31:
32: #endif /* MANDOC_CONFIG_H */
CVSweb