Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 07:22:18 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273530 - head/contrib/netbsd-tests/lib/libc/sys
Message-ID:  <201410230722.s9N7MIqL067800@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Oct 23 07:22:18 2014
New Revision: 273530
URL: https://svnweb.freebsd.org/changeset/base/273530

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

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

Modified: head/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c	Thu Oct 23 07:20:35 2014	(r273529)
+++ head/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c	Thu Oct 23 07:22:18 2014	(r273530)
@@ -46,6 +46,10 @@ __RCSID("$NetBSD: t_msgctl.c,v 1.4 2014/
 #include <time.h>
 #include <unistd.h>
 
+#ifdef __FreeBSD__
+#include <limits.h>
+#endif
+
 #define MSG_KEY		12345689
 #define MSG_MTYPE_1	0x41
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410230722.s9N7MIqL067800>