aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/xstd.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 /xstd.c
parent57690ec5caf9f8f4be19a0437f7a36b77ff4c9b4 (diff)
downloadmandoc-36ca5446d30ace05d796a3cdb1c9781f41b090cc.tar.gz
mandoc-36ca5446d30ace05d796a3cdb1c9781f41b090cc.tar.zst
mandoc-36ca5446d30ace05d796a3cdb1c9781f41b090cc.zip
Some Linux-isms.
Diffstat (limited to 'xstd.c')
-rw-r--r--xstd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/xstd.c b/xstd.c
index e1e5262d..00cec8bb 100644
--- a/xstd.c
+++ b/xstd.c
@@ -1,4 +1,4 @@
-/* $Id: xstd.c,v 1.11 2009/03/16 23:37:28 kristaps Exp $ */
+/* $Id: xstd.c,v 1.12 2009/03/19 16:40:49 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -23,6 +23,11 @@
#include "private.h"
+#ifdef __linux__
+extern size_t strlcpy(char *, const char *, size_t);
+extern size_t strlcat(char *, const char *, size_t);
+#endif
+
/*
* Contains wrappers for common functions to simplify their general
* usage throughout this codebase.