diff options
author | David Krause <david@cvs.openbsd.org> | 2003-09-02 23:52:18 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 2003-09-02 23:52:18 +0000 |
commit | be301350bdab2bb82238278aa09fa4d92b194b27 (patch) | |
tree | 8ba21671cb64d36c0a7d76ffbccb09bc139516fa /regress/sys | |
parent | 9b09e7650f65721c3cb81403d85f0d3a47bba08e (diff) |
add missing includes
ok deraadt@ tedu@ dhartmei@ krw@
Diffstat (limited to 'regress/sys')
-rw-r--r-- | regress/sys/arch/i386/ldt/testldt.c | 3 | ||||
-rw-r--r-- | regress/sys/crypto/auth/md5.c | 3 | ||||
-rw-r--r-- | regress/sys/kern/execve/doexec.c | 3 | ||||
-rw-r--r-- | regress/sys/kern/execve/tests/goodaout.c | 3 | ||||
-rw-r--r-- | regress/sys/kern/exit/exit.c | 3 | ||||
-rw-r--r-- | regress/sys/kern/mmap/mmaptest.c | 3 | ||||
-rw-r--r-- | regress/sys/kern/pwrite/pwrite.c | 3 | ||||
-rw-r--r-- | regress/sys/kern/pwritev/pwritev.c | 3 | ||||
-rw-r--r-- | regress/sys/kern/rcvtimeo/rcvtimeo.c | 3 |
9 files changed, 18 insertions, 9 deletions
diff --git a/regress/sys/arch/i386/ldt/testldt.c b/regress/sys/arch/i386/ldt/testldt.c index c86c8a11384..7d5865eda2e 100644 --- a/regress/sys/arch/i386/ldt/testldt.c +++ b/regress/sys/arch/i386/ldt/testldt.c @@ -1,7 +1,8 @@ -/* $OpenBSD: testldt.c,v 1.7 2003/08/02 01:24:36 david Exp $ */ +/* $OpenBSD: testldt.c,v 1.8 2003/09/02 23:52:17 david Exp $ */ /* $NetBSD: testldt.c,v 1.4 1995/04/20 22:42:38 cgd Exp $ */ #include <stdio.h> +#include <stdlib.h> #include <signal.h> #include <unistd.h> #include <sys/types.h> diff --git a/regress/sys/crypto/auth/md5.c b/regress/sys/crypto/auth/md5.c index 83207b64d83..fa617cf17d9 100644 --- a/regress/sys/crypto/auth/md5.c +++ b/regress/sys/crypto/auth/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.4 2003/07/31 21:48:07 deraadt Exp $ */ +/* $OpenBSD: md5.c,v 1.5 2003/09/02 23:52:17 david Exp $ */ /* * Copyright (c) 2002 Markus Friedl. All rights reserverd. @@ -32,6 +32,7 @@ #include <err.h> #include <fcntl.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/regress/sys/kern/execve/doexec.c b/regress/sys/kern/execve/doexec.c index a331ed52481..c22d49ae1bc 100644 --- a/regress/sys/kern/execve/doexec.c +++ b/regress/sys/kern/execve/doexec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: doexec.c,v 1.4 2003/07/31 21:48:08 deraadt Exp $ */ +/* $OpenBSD: doexec.c,v 1.5 2003/09/02 23:52:17 david Exp $ */ /* $NetBSD: doexec.c,v 1.3 1995/04/20 22:43:13 cgd Exp $ */ /* @@ -33,6 +33,7 @@ #include <errno.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/regress/sys/kern/execve/tests/goodaout.c b/regress/sys/kern/execve/tests/goodaout.c index 644d8d36777..68bb56223e2 100644 --- a/regress/sys/kern/execve/tests/goodaout.c +++ b/regress/sys/kern/execve/tests/goodaout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: goodaout.c,v 1.3 2003/07/31 21:48:08 deraadt Exp $ */ +/* $OpenBSD: goodaout.c,v 1.4 2003/09/02 23:52:17 david Exp $ */ /* $NetBSD: goodaout.c,v 1.3 1995/04/20 22:44:20 cgd Exp $ */ /* @@ -32,6 +32,7 @@ */ #include <stdio.h> +#include <stdlib.h> #include <unistd.h> int diff --git a/regress/sys/kern/exit/exit.c b/regress/sys/kern/exit/exit.c index 485a8d6be47..79e52829125 100644 --- a/regress/sys/kern/exit/exit.c +++ b/regress/sys/kern/exit/exit.c @@ -1,8 +1,9 @@ -/* $OpenBSD: exit.c,v 1.2 2003/07/31 21:48:08 deraadt Exp $ */ +/* $OpenBSD: exit.c,v 1.3 2003/09/02 23:52:17 david Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain. */ #include <stdlib.h> +#include <unistd.h> int main(int argc, char *argv[]) diff --git a/regress/sys/kern/mmap/mmaptest.c b/regress/sys/kern/mmap/mmaptest.c index 3ee8944ee9d..0fb8f6dc138 100644 --- a/regress/sys/kern/mmap/mmaptest.c +++ b/regress/sys/kern/mmap/mmaptest.c @@ -1,4 +1,4 @@ -/* $Id: mmaptest.c,v 1.2 2003/06/04 04:11:36 deraadt Exp $ */ +/* $Id: mmaptest.c,v 1.3 2003/09/02 23:52:17 david Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist. All rights reserverd. @@ -31,6 +31,7 @@ #include <err.h> #include <fcntl.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #define TEMPL "test-fileXXXXXXXXXX" diff --git a/regress/sys/kern/pwrite/pwrite.c b/regress/sys/kern/pwrite/pwrite.c index a27d0f75094..80ba0143ecf 100644 --- a/regress/sys/kern/pwrite/pwrite.c +++ b/regress/sys/kern/pwrite/pwrite.c @@ -1,9 +1,10 @@ -/* $OpenBSD: pwrite.c,v 1.2 2003/07/31 21:48:09 deraadt Exp $ */ +/* $OpenBSD: pwrite.c,v 1.3 2003/09/02 23:52:17 david Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain. */ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <err.h> #include <fcntl.h> diff --git a/regress/sys/kern/pwritev/pwritev.c b/regress/sys/kern/pwritev/pwritev.c index 31871565a46..6012869cc7d 100644 --- a/regress/sys/kern/pwritev/pwritev.c +++ b/regress/sys/kern/pwritev/pwritev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pwritev.c,v 1.2 2003/07/31 21:48:09 deraadt Exp $ */ +/* $OpenBSD: pwritev.c,v 1.3 2003/09/02 23:52:17 david Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain. */ @@ -6,6 +6,7 @@ #include <sys/uio.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <err.h> #include <fcntl.h> diff --git a/regress/sys/kern/rcvtimeo/rcvtimeo.c b/regress/sys/kern/rcvtimeo/rcvtimeo.c index c8ddab4d4de..2dcb00fe947 100644 --- a/regress/sys/kern/rcvtimeo/rcvtimeo.c +++ b/regress/sys/kern/rcvtimeo/rcvtimeo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcvtimeo.c,v 1.3 2003/07/31 21:48:09 deraadt Exp $ */ +/* $OpenBSD: rcvtimeo.c,v 1.4 2003/09/02 23:52:17 david Exp $ */ /* Written by Michael Shalayeff, 2002, Public Domain */ @@ -10,6 +10,7 @@ #include <signal.h> #include <unistd.h> #include <stdio.h> +#include <stdlib.h> #include <errno.h> #include <err.h> |