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/sys/t_msgctl.c | |
| parent | b685d7fdfff7c8737bf613a978607607d03a0418 (diff) | |
PR/51856: Ngie Cooper: add limits.h for INT_MAX
Diffstat (limited to 'tests/lib/libc/sys/t_msgctl.c')
| -rw-r--r-- | tests/lib/libc/sys/t_msgctl.c | 5 |
1 files changed, 3 insertions, 2 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> |
