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

Garrett Cooper ngie at FreeBSD.org
Thu Oct 23 08:05:48 UTC 2014


Author: ngie
Date: Thu Oct 23 08:05:47 2014
New Revision: 273536
URL: https://svnweb.freebsd.org/changeset/base/273536

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

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

Modified: head/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c	Thu Oct 23 08:05:03 2014	(r273535)
+++ head/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c	Thu Oct 23 08:05:47 2014	(r273536)
@@ -47,6 +47,10 @@ __RCSID("$NetBSD: t_msgsnd.c,v 1.2 2011/
 #include <time.h>
 #include <unistd.h>
 
+#if defined(__FreeBSD__)
+#include <limits.h>
+#endif
+
 #define MSG_KEY		1234
 #define MSG_MTYPE_1	0x41
 #define	MSG_MTYPE_2	0x42


More information about the svn-src-all mailing list