Annotation of mandoc/config.h.post, Revision 1.7
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.7 ! schwarze 18: #ifndef HAVE_STRCASESTR
! 19: extern char *strcasestr(const char *, const char *);
! 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);
1.7 ! schwarze 26: #endif
! 27: #ifndef HAVE_STRSEP
! 28: extern char *strsep(char **, const char *);
1.1 kristaps 29: #endif
1.2 kristaps 30: #ifndef HAVE_GETSUBOPT
31: extern int getsubopt(char **, char * const *, char **);
32: extern char *suboptarg;
33: #endif
1.4 kristaps 34: #ifndef HAVE_FGETLN
35: extern char *fgetln(FILE *, size_t *);
36: #endif
1.1 kristaps 37:
38: #endif /* MANDOC_CONFIG_H */
CVSweb