diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-01 17:14:26 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-01 17:14:26 +0000 |
commit | 73aca81b50073109b137bba659d38af11d7194ac (patch) | |
tree | db3b28024b3493b57e793eb072a69c9da331b8da /man_html.c | |
parent | 9702d475f59435139db2b0794a26dd69937fab7c (diff) | |
download | mandoc-73aca81b50073109b137bba659d38af11d7194ac.tar.gz mandoc-73aca81b50073109b137bba659d38af11d7194ac.tar.zst mandoc-73aca81b50073109b137bba659d38af11d7194ac.zip |
Big check-in of compatibility layer. This should work on most major architectures. Thanks to Joerg Sonnenberger.
Diffstat (limited to 'man_html.c')
-rw-r--r-- | man_html.c | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.24 2009/11/16 08:46:59 kristaps Exp $ */ +/* $Id: man_html.c,v 1.25 2010/01/01 17:14:28 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -14,6 +14,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <sys/types.h> #include <assert.h> @@ -66,11 +70,6 @@ static int man_SH_pre(MAN_ARGS); static int man_SM_pre(MAN_ARGS); static int man_SS_pre(MAN_ARGS); -#ifdef __linux__ -extern size_t strlcpy(char *, const char *, size_t); -extern size_t strlcat(char *, const char *, size_t); -#endif - static const struct htmlman mans[MAN_MAX] = { { man_br_pre, NULL }, /* br */ { NULL, NULL }, /* TH */ |