diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-16 13:42:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-16 13:42:12 +0000 |
commit | 6967b9612f077f4ffe4e138a8ab25c87f383009b (patch) | |
tree | 71494541131535c5c46d9e6b65cd564f22aa8f6d | |
parent | 7bf43bc19f6eacacd904fa6a1a90f52dd84902db (diff) | |
download | mandoc-6967b9612f077f4ffe4e138a8ab25c87f383009b.tar.gz |
Added Linux compat (strlcpy).
-rw-r--r-- | mdoc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -147,6 +147,10 @@ static int macrowarn(struct mdoc *, int, const char *); static int pstring(struct mdoc *, int, int, const char *, size_t); +#ifdef __linux__ +extern size_t strlcpy(char *, const char *, size_t); +#endif + const struct mdoc_node * mdoc_node(const struct mdoc *m) |