summaryrefslogtreecommitdiffstats
path: root/config.h.post
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-04-23 23:29:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-04-23 23:29:10 +0000
commitfae7b12009f7a77915b7bde9bc269c39c59cb444 (patch)
tree9e762efbea22ea00053c009ef525abbcdcfcec31 /config.h.post
parent7cb3a7b37aab73a5a42c6db182082d4fa806c542 (diff)
downloadmandoc-fae7b12009f7a77915b7bde9bc269c39c59cb444.tar.gz
prototype for reallocarray()
Diffstat (limited to 'config.h.post')
-rw-r--r--config.h.post3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.post b/config.h.post
index fe8f015e..f2d24297 100644
--- a/config.h.post
+++ b/config.h.post
@@ -20,6 +20,9 @@ extern char *fgetln(FILE *, size_t *);
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