diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-08-19 12:00:46 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-08-19 12:00:46 +0000 |
commit | 24ee17200231fd7ea9bf63208b7da1c1d6aa9228 (patch) | |
tree | b44cc59db26ca205b548b08a14222174643f65db | |
parent | 3381bcccce951f0ca40a1a39f5c568435a35fcd2 (diff) | |
download | mandoc-24ee17200231fd7ea9bf63208b7da1c1d6aa9228.tar.gz mandoc-24ee17200231fd7ea9bf63208b7da1c1d6aa9228.tar.zst mandoc-24ee17200231fd7ea9bf63208b7da1c1d6aa9228.zip |
Linux compat fix.
-rw-r--r-- | man.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.31 2009/08/19 11:58:32 kristaps Exp $ */ +/* $Id: man.c,v 1.32 2009/08/19 12:00:46 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -68,6 +68,10 @@ static int man_alloc1(struct man *); static int pstring(struct man *, int, int, const char *, size_t); +#ifdef __linux__ +extern size_t strlcpy(char *, const char *, size_t); +#endif + const struct man_node * man_node(const struct man *m) |