From 69c7524909cec83591a6cea56722753922d9999a Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 19 Jan 2015 14:54:16 +0000 Subject: Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX and HOST_NAME_MAX+1, respectively. ok doug@ --- xmalloc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xmalloc.c') diff --git a/xmalloc.c b/xmalloc.c index 2aa666b..94f0691 100644 --- a/xmalloc.c +++ b/xmalloc.c @@ -15,14 +15,15 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xmalloc.c,v 1.13 2014/09/07 19:27:30 okan Exp $ + * $OpenBSD: xmalloc.c,v 1.14 2015/01/19 14:54:16 okan Exp $ */ -#include +#include #include #include #include +#include #include #include #include -- cgit v1.2.3-2-gb3c3