diff options
Diffstat (limited to 'regress/sys/arch/amd64/fpu/fdump.c')
-rw-r--r-- | regress/sys/arch/amd64/fpu/fdump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/sys/arch/amd64/fpu/fdump.c b/regress/sys/arch/amd64/fpu/fdump.c index 4f66c0656d8..5e23034b197 100644 --- a/regress/sys/arch/amd64/fpu/fdump.c +++ b/regress/sys/arch/amd64/fpu/fdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdump.c,v 1.1 2018/08/21 18:35:18 bluhm Exp $ */ +/* $OpenBSD: fdump.c,v 1.2 2021/12/13 16:56:49 deraadt Exp $ */ /* * Copyright (c) 2018 Alexander Bluhm <bluhm@openbsd.org> * @@ -15,13 +15,15 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/param.h> +#include <sys/types.h> #include <err.h> #include <fenv.h> #include <stdio.h> #include <unistd.h> +#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) + int main(int argc, char *argv[]) { |