diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-19 16:40:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-19 16:40:49 +0000 |
commit | 36ca5446d30ace05d796a3cdb1c9781f41b090cc (patch) | |
tree | 0837a0e9dc29e47e0a8b62a6a8a8325ead746e07 /terminal.c | |
parent | 57690ec5caf9f8f4be19a0437f7a36b77ff4c9b4 (diff) | |
download | mandoc-36ca5446d30ace05d796a3cdb1c9781f41b090cc.tar.gz mandoc-36ca5446d30ace05d796a3cdb1c9781f41b090cc.tar.zst mandoc-36ca5446d30ace05d796a3cdb1c9781f41b090cc.zip |
Some Linux-isms.
Diffstat (limited to 'terminal.c')
-rw-r--r-- | terminal.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 *, |