summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-10-23 07:22:18 +0000
committerngie <ngie@FreeBSD.org>2014-10-23 07:22:18 +0000
commitef3a237704209418b3d573487fceac353a64a434 (patch)
treee9cdfdece6cd0d0eee4f0017e1d0e06601789377 /contrib/netbsd-tests
parentb94c3058c50917e64b446d140b4f7b364248df24 (diff)
downloadFreeBSD-src-ef3a237704209418b3d573487fceac353a64a434.zip
FreeBSD-src-ef3a237704209418b3d573487fceac353a64a434.tar.gz
Add limits.h #include for INT_MAX
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r--contrib/netbsd-tests/lib/libc/sys/t_msgctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c b/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c
index 1e74d60..b9b3067 100644
--- a/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c
+++ b/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c
@@ -46,6 +46,10 @@ __RCSID("$NetBSD: t_msgctl.c,v 1.4 2014/02/27 00:59:50 joerg Exp $");
#include <time.h>
#include <unistd.h>
+#ifdef __FreeBSD__
+#include <limits.h>
+#endif
+
#define MSG_KEY 12345689
#define MSG_MTYPE_1 0x41
OpenPOWER on IntegriCloud