diff options
author | ngie <ngie@FreeBSD.org> | 2014-10-23 08:05:47 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-10-23 08:05:47 +0000 |
commit | 18ff707cddc88347f33f5cf22d668ba70e06ae11 (patch) | |
tree | b257cbeca095ef82ee69678c63909a0aa7620772 /contrib/netbsd-tests | |
parent | 181c971463f823a5fd8d62dfd030214d59769ab2 (diff) | |
download | FreeBSD-src-18ff707cddc88347f33f5cf22d668ba70e06ae11.zip FreeBSD-src-18ff707cddc88347f33f5cf22d668ba70e06ae11.tar.gz |
Add limits.h #include for SSIZE_MAX
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c b/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c index 5493789..fddf5eb 100644 --- a/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c +++ b/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c @@ -47,6 +47,10 @@ __RCSID("$NetBSD: t_msgsnd.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $"); #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 |