=================================================================== RCS file: /cvs/mandoc/Attic/xstd.c,v retrieving revision 1.10 retrieving revision 1.12 diff -u -p -r1.10 -r1.12 --- mandoc/Attic/xstd.c 2009/03/16 22:19:19 1.10 +++ mandoc/Attic/xstd.c 2009/03/19 16:40:49 1.12 @@ -1,6 +1,6 @@ -/* $Id: xstd.c,v 1.10 2009/03/16 22:19:19 kristaps Exp $ */ +/* $Id: xstd.c,v 1.12 2009/03/19 16:40:49 kristaps Exp $ */ /* - * Copyright (c) 2008 Kristaps Dzonsons + * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the @@ -22,6 +22,11 @@ #include #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