aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-01-01 17:14:26 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-01-01 17:14:26 +0000
commit73aca81b50073109b137bba659d38af11d7194ac (patch)
treedb3b28024b3493b57e793eb072a69c9da331b8da /mdoc_action.c
parent9702d475f59435139db2b0794a26dd69937fab7c (diff)
downloadmandoc-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 'mdoc_action.c')
-rw-r--r--mdoc_action.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index aed126d9..f39e1a22 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_action.c,v 1.49 2009/11/02 06:22:45 kristaps Exp $ */
+/* $Id: mdoc_action.c,v 1.50 2010/01/01 17:14:29 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
+
#ifndef OSNAME
#include <sys/utsname.h>
#endif
@@ -42,10 +46,6 @@ static int concat(struct mdoc *, char *,
const struct mdoc_node *, size_t);
static inline int order_rs(int);
-#ifdef __linux__
-extern size_t strlcat(char *, const char *, size_t);
-#endif
-
static int post_ar(POST_ARGS);
static int post_at(POST_ARGS);
static int post_bl(POST_ARGS);