diff options
| author | christos <christos@NetBSD.org> | 2017-01-13 20:44:45 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2017-01-13 20:44:45 +0000 |
| commit | 7f3cf0dee818ff5d87c191eea2d983a6f54898ca (patch) | |
| tree | 6af6c25f75f1fcd169e2656e6c5af97980f56ec7 /tests/lib/libc | |
| parent | b685d7fdfff7c8737bf613a978607607d03a0418 (diff) | |
PR/51856: Ngie Cooper: add limits.h for INT_MAX
Diffstat (limited to 'tests/lib/libc')
| -rw-r--r-- | tests/lib/libc/sys/t_msgctl.c | 5 | ||||
| -rw-r--r-- | tests/lib/libc/sys/t_msgrcv.c | 5 | ||||
| -rw-r--r-- | tests/lib/libc/sys/t_msgsnd.c | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/tests/lib/libc/sys/t_msgctl.c b/tests/lib/libc/sys/t_msgctl.c index 1e74d60703e..9f99980ae4c 100644 --- a/tests/lib/libc/sys/t_msgctl.c +++ b/tests/lib/libc/sys/t_msgctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_msgctl.c,v 1.4 2014/02/27 00:59:50 joerg Exp $ */ +/* $NetBSD: t_msgctl.c,v 1.5 2017/01/13 20:44:45 christos Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_msgctl.c,v 1.4 2014/02/27 00:59:50 joerg Exp $"); +__RCSID("$NetBSD: t_msgctl.c,v 1.5 2017/01/13 20:44:45 christos Exp $"); #include <sys/msg.h> #include <sys/stat.h> @@ -38,6 +38,7 @@ __RCSID("$NetBSD: t_msgctl.c,v 1.4 2014/02/27 00:59:50 joerg Exp $"); #include <atf-c.h> #include <errno.h> +#include <limits.h> #include <pwd.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/lib/libc/sys/t_msgrcv.c b/tests/lib/libc/sys/t_msgrcv.c index e32be262aa1..522ceb82cd3 100644 --- a/tests/lib/libc/sys/t_msgrcv.c +++ b/tests/lib/libc/sys/t_msgrcv.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_msgrcv.c,v 1.3 2013/07/24 11:44:10 skrll Exp $ */ +/* $NetBSD: t_msgrcv.c,v 1.4 2017/01/13 20:44:45 christos Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_msgrcv.c,v 1.3 2013/07/24 11:44:10 skrll Exp $"); +__RCSID("$NetBSD: t_msgrcv.c,v 1.4 2017/01/13 20:44:45 christos Exp $"); #include <sys/msg.h> #include <sys/stat.h> @@ -38,6 +38,7 @@ __RCSID("$NetBSD: t_msgrcv.c,v 1.3 2013/07/24 11:44:10 skrll Exp $"); #include <atf-c.h> #include <errno.h> +#include <limits.h> #include <pwd.h> #include <signal.h> #include <stdio.h> diff --git a/tests/lib/libc/sys/t_msgsnd.c b/tests/lib/libc/sys/t_msgsnd.c index 54937897435..598882131a7 100644 --- a/tests/lib/libc/sys/t_msgsnd.c +++ b/tests/lib/libc/sys/t_msgsnd.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_msgsnd.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $ */ +/* $NetBSD: t_msgsnd.c,v 1.3 2017/01/13 20:44:45 christos Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_msgsnd.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $"); +__RCSID("$NetBSD: t_msgsnd.c,v 1.3 2017/01/13 20:44:45 christos Exp $"); #include <sys/msg.h> #include <sys/stat.h> @@ -38,6 +38,7 @@ __RCSID("$NetBSD: t_msgsnd.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $"); #include <atf-c.h> #include <errno.h> +#include <limits.h> #include <pwd.h> #include <signal.h> #include <stdio.h> |
