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