Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/sys PR/51853: Ngie Cooper: add limits.h for M...



details:   https://anonhg.NetBSD.org/src/rev/83dd282b7972
branches:  trunk
changeset: 820703:83dd282b7972
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 13 20:42:36 2017 +0000

description:
PR/51853: Ngie Cooper: add limits.h for MAXPATHLEN in FreeBSD

diffstat:

 tests/lib/libc/sys/t_link.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r b02c10159a64 -r 83dd282b7972 tests/lib/libc/sys/t_link.c
--- a/tests/lib/libc/sys/t_link.c       Fri Jan 13 20:41:50 2017 +0000
+++ b/tests/lib/libc/sys/t_link.c       Fri Jan 13 20:42:36 2017 +0000
@@ -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 @@
 #include <atf-c.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <limits.h>
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>



Home | Main Index | Thread Index | Old Index