summaryrefslogtreecommitdiffstatshomepage
path: root/terminal.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-19 16:40:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-19 16:40:49 +0000
commit36ca5446d30ace05d796a3cdb1c9781f41b090cc (patch)
tree0837a0e9dc29e47e0a8b62a6a8a8325ead746e07 /terminal.c
parent57690ec5caf9f8f4be19a0437f7a36b77ff4c9b4 (diff)
downloadmandoc-36ca5446d30ace05d796a3cdb1c9781f41b090cc.tar.gz
mandoc-36ca5446d30ace05d796a3cdb1c9781f41b090cc.tar.zst
mandoc-36ca5446d30ace05d796a3cdb1c9781f41b090cc.zip
Some Linux-isms.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 9e63d9a9..1b479213 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1,4 +1,4 @@
-/* $Id: terminal.c,v 1.1 2009/03/19 16:17:27 kristaps Exp $ */
+/* $Id: terminal.c,v 1.2 2009/03/19 16:40:49 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -24,6 +24,11 @@
#include "term.h"
+#ifdef __linux__
+extern size_t strlcpy(char *, const char *, size_t);
+extern size_t strlcat(char *, const char *, size_t);
+#endif
+
static struct termp *termp_alloc(enum termenc);
static void termp_free(struct termp *);
static void termp_body(struct termp *, struct termpair *,