From 58c660fd11c8ed2f147af59ec4f14d957e5142b2 Mon Sep 17 00:00:00 2001 From: kleink Date: Tue, 11 May 2004 17:39:36 +0000 Subject: [PATCH] When using PATH_MAX in the example, make sure we include ! --- lib/libc/sys/readlink.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/readlink.2 b/lib/libc/sys/readlink.2 index eaa1d5d4875b..8b5407cb7a0a 100644 --- a/lib/libc/sys/readlink.2 +++ b/lib/libc/sys/readlink.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: readlink.2,v 1.22 2004/05/11 17:38:18 kleink Exp $ +.\" $NetBSD: readlink.2,v 1.23 2004/05/11 17:39:36 kleink Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -91,6 +91,7 @@ which reads the contents of a symbolic link named .Pa /symbolic/link and stores them as null-terminated string: .Bd -literal -offset indent +#include #include char buf[PATH_MAX];