=================================================================== RCS file: /cvs/mandoc/Attic/config.h.post,v retrieving revision 1.6.2.4 retrieving revision 1.6.2.5 diff -u -p -r1.6.2.4 -r1.6.2.5 --- mandoc/Attic/config.h.post 2013/12/31 23:19:04 1.6.2.4 +++ mandoc/Attic/config.h.post 2014/01/04 13:49:22 1.6.2.5 @@ -1,5 +1,3 @@ -#include - #if !defined(__BEGIN_DECLS) # ifdef __cplusplus # define __BEGIN_DECLS extern "C" { @@ -27,6 +25,13 @@ # endif #endif +#ifndef HAVE_FGETLN +extern char *fgetln(FILE *, size_t *); +#endif +#ifndef HAVE_GETSUBOPT +extern int getsubopt(char **, char * const *, char **); +extern char *suboptarg; +#endif #ifndef HAVE_STRCASESTR extern char *strcasestr(const char *, const char *); #endif @@ -36,15 +41,11 @@ extern size_t strlcat(char *, const char *, size_t); #ifndef HAVE_STRLCPY extern size_t strlcpy(char *, const char *, size_t); #endif +#ifndef HAVE_STRNLEN +extern size_t strnlen(const char *, size_t); +#endif #ifndef HAVE_STRSEP extern char *strsep(char **, const char *); -#endif -#ifndef HAVE_GETSUBOPT -extern int getsubopt(char **, char * const *, char **); -extern char *suboptarg; -#endif -#ifndef HAVE_FGETLN -extern char *fgetln(FILE *, size_t *); #endif #endif /* MANDOC_CONFIG_H */