summaryrefslogtreecommitdiffstats
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
commit677b18213e2f3cdbe7bb2c9df54a0e2488c89714 (patch)
tree4727cd1e0862c2b14bd4097b62b464fc4cdb6a9b /terminal.c
parent4530c10e628e181f5c464d1c4f3257f506b8f0ee (diff)
downloadmandoc-677b18213e2f3cdbe7bb2c9df54a0e2488c89714.tar.gz
Some Linux-isms.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index fbf399bd..3543ac1c 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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 *,