=================================================================== RCS file: /cvs/mandoc/Attic/config.h.post,v retrieving revision 1.6.2.7 retrieving revision 1.7 diff -u -p -r1.6.2.7 -r1.7 --- mandoc/Attic/config.h.post 2014/08/04 23:45:37 1.6.2.7 +++ mandoc/Attic/config.h.post 2013/12/31 23:03:47 1.7 @@ -1,3 +1,5 @@ +#include + #if !defined(__BEGIN_DECLS) # ifdef __cplusplus # define __BEGIN_DECLS extern "C" { @@ -13,28 +15,6 @@ # endif #endif -#ifndef HAVE_BETOH64 -# if defined(__APPLE__) -# define betoh64(x) OSSwapBigToHostInt64(x) -# define htobe64(x) OSSwapHostToBigInt64(x) -# elif defined(__sun) -# define betoh64(x) BE_64(x) -# define htobe64(x) BE_64(x) -# else -# define betoh64(x) be64toh(x) -# 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_REALLOCARRAY -extern void *reallocarray(void *, size_t, size_t); -#endif #ifndef HAVE_STRCASESTR extern char *strcasestr(const char *, const char *); #endif @@ -46,6 +26,13 @@ extern size_t strlcpy(char *, 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 */