Module Name: src
Committed By: christos
Date: Fri Jan 13 20:42:36 UTC 2017
Modified Files:
src/tests/lib/libc/sys: t_link.c
Log Message:
PR/51853: Ngie Cooper: add limits.h for MAXPATHLEN in FreeBSD
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_link.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libc/sys/t_link.c
diff -u src/tests/lib/libc/sys/t_link.c:1.2 src/tests/lib/libc/sys/t_link.c:1.3
--- src/tests/lib/libc/sys/t_link.c:1.2 Mon Apr 21 10:39:36 2014
+++ src/tests/lib/libc/sys/t_link.c Fri Jan 13 15:42:36 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: t_link.c,v 1.2 2014/04/21 14:39:36 martin Exp $ */
+/* $NetBSD: t_link.c,v 1.3 2017/01/13 20:42:36 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_link.c,v 1.2 2014/04/21 14:39:36 martin Exp $");
+__RCSID("$NetBSD: t_link.c,v 1.3 2017/01/13 20:42:36 christos Exp $");
#include <sys/param.h>
#include <sys/stat.h>
@@ -37,6 +37,7 @@ __RCSID("$NetBSD: t_link.c,v 1.2 2014/04
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>