From 907b17c42a136132a2e911e8c66258755cad4391 Mon Sep 17 00:00:00 2001 From: david <> Date: Tue, 2 Sep 2003 23:52:16 +0000 Subject: add missing includes ok deraadt@ tedu@ dhartmei@ krw@ --- src/regress/lib/libc/alloca/alloca.c | 3 ++- src/regress/lib/libc/atexit/atexit_test.c | 3 ++- src/regress/lib/libc/getaddrinfo/gaitest.c | 3 ++- src/regress/lib/libc/ieeefp/except/except.c | 3 ++- src/regress/lib/libc/setjmp/jmptest.c | 3 ++- src/regress/lib/libc/sprintf/sprintf_test.c | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libc/alloca/alloca.c b/src/regress/lib/libc/alloca/alloca.c index 14ef87b29a..d9573e2f54 100644 --- a/src/regress/lib/libc/alloca/alloca.c +++ b/src/regress/lib/libc/alloca/alloca.c @@ -1,8 +1,9 @@ -/* $OpenBSD: alloca.c,v 1.5 2003/08/02 01:24:36 david Exp $ */ +/* $OpenBSD: alloca.c,v 1.6 2003/09/02 23:52:16 david Exp $ */ /* Written by Michael Shalayeff, 2003, Public Domain. */ #include +#include #include int diff --git a/src/regress/lib/libc/atexit/atexit_test.c b/src/regress/lib/libc/atexit/atexit_test.c index c30b9dff77..efa2274168 100644 --- a/src/regress/lib/libc/atexit/atexit_test.c +++ b/src/regress/lib/libc/atexit/atexit_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atexit_test.c,v 1.4 2003/07/31 21:48:02 deraadt Exp $ */ +/* $OpenBSD: atexit_test.c,v 1.5 2003/09/02 23:52:16 david Exp $ */ /* * Copyright (c) 2002 Daniel Hartmeier @@ -36,6 +36,7 @@ #include #include +#include #include #include "stdlib/atexit.h" diff --git a/src/regress/lib/libc/getaddrinfo/gaitest.c b/src/regress/lib/libc/getaddrinfo/gaitest.c index edd56288f5..a54681b157 100644 --- a/src/regress/lib/libc/getaddrinfo/gaitest.c +++ b/src/regress/lib/libc/getaddrinfo/gaitest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gaitest.c,v 1.2 2002/08/09 20:26:44 jsyn Exp $ */ +/* $OpenBSD: gaitest.c,v 1.3 2003/09/02 23:52:16 david Exp $ */ /* $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $ */ /* @@ -37,6 +37,7 @@ #include #include #include +#include #include struct addrinfo ai; diff --git a/src/regress/lib/libc/ieeefp/except/except.c b/src/regress/lib/libc/ieeefp/except/except.c index 7ab8fc4cb2..7df9abea07 100644 --- a/src/regress/lib/libc/ieeefp/except/except.c +++ b/src/regress/lib/libc/ieeefp/except/except.c @@ -1,6 +1,7 @@ -/* $OpenBSD: except.c,v 1.4 2003/07/31 21:48:03 deraadt Exp $ */ +/* $OpenBSD: except.c,v 1.5 2003/09/02 23:52:16 david Exp $ */ #include +#include #include #include #include diff --git a/src/regress/lib/libc/setjmp/jmptest.c b/src/regress/lib/libc/setjmp/jmptest.c index 86b0e6ae93..9512c9ee34 100644 --- a/src/regress/lib/libc/setjmp/jmptest.c +++ b/src/regress/lib/libc/setjmp/jmptest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jmptest.c,v 1.6 2003/07/31 21:48:03 deraadt Exp $ */ +/* $OpenBSD: jmptest.c,v 1.7 2003/09/02 23:52:16 david Exp $ */ /* $NetBSD: jmptest.c,v 1.2 1995/01/01 20:55:35 jtc Exp $ */ /* @@ -38,6 +38,7 @@ #include #include #include +#include #include #if (TEST_SETJMP + TEST_U_SETJMP + TEST_SIGSETJMP) != 1 diff --git a/src/regress/lib/libc/sprintf/sprintf_test.c b/src/regress/lib/libc/sprintf/sprintf_test.c index 1387b2970e..76dd42c929 100644 --- a/src/regress/lib/libc/sprintf/sprintf_test.c +++ b/src/regress/lib/libc/sprintf/sprintf_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sprintf_test.c,v 1.1 2003/05/15 04:23:49 deraadt Exp $ */ +/* $OpenBSD: sprintf_test.c,v 1.2 2003/09/02 23:52:16 david Exp $ */ /* * Copyright (c) 2003 Theo de Raadt @@ -31,6 +31,7 @@ #include #include +#include #include char correct[] = -- cgit v1.2.3-55-g6feb