svn commit: r273523 - head/contrib/netbsd-tests/lib/libc/sys

Garrett Cooper ngie at FreeBSD.org
Thu Oct 23 06:25:53 UTC 2014


Author: ngie
Date: Thu Oct 23 06:25:52 2014
New Revision: 273523
URL: https://svnweb.freebsd.org/changeset/base/273523

Log:
  Add limits.h #include for LINE_MAX
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/contrib/netbsd-tests/lib/libc/sys/t_link.c

Modified: head/contrib/netbsd-tests/lib/libc/sys/t_link.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/sys/t_link.c	Thu Oct 23 06:24:36 2014	(r273522)
+++ head/contrib/netbsd-tests/lib/libc/sys/t_link.c	Thu Oct 23 06:25:52 2014	(r273523)
@@ -41,6 +41,10 @@ __RCSID("$NetBSD: t_link.c,v 1.2 2014/04
 #include <string.h>
 #include <unistd.h>
 
+#ifdef __FreeBSD__
+#include <limits.h>
+#endif
+
 static const char	*getpath(void);
 static char		 path[] = "link";
 static const char	*pathl;


More information about the svn-src-head mailing list