diff options
author | kib <kib@FreeBSD.org> | 2010-03-16 20:42:54 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-03-16 20:42:54 +0000 |
commit | 174557d03432a8ba655587232ec9add935badf5b (patch) | |
tree | 406fd7ef0f2f3dc5bf91080cfd460b00627c628a /tools | |
parent | 856f335750edbf1a49d2b25e04cc1bd20565a0cc (diff) | |
download | FreeBSD-src-174557d03432a8ba655587232ec9add935badf5b.zip FreeBSD-src-174557d03432a8ba655587232ec9add935badf5b.tar.gz |
Add missing headers. While there, arrange headers alphabetically.
MFC after: 3 days
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/mqueue/mqtest1/mqtest1.c | 7 | ||||
-rw-r--r-- | tools/regression/mqueue/mqtest2/mqtest2.c | 9 | ||||
-rw-r--r-- | tools/regression/mqueue/mqtest3/mqtest3.c | 11 | ||||
-rw-r--r-- | tools/regression/mqueue/mqtest4/mqtest4.c | 13 | ||||
-rw-r--r-- | tools/regression/mqueue/mqtest5/mqtest5.c | 14 |
5 files changed, 37 insertions, 17 deletions
diff --git a/tools/regression/mqueue/mqtest1/mqtest1.c b/tools/regression/mqueue/mqtest1/mqtest1.c index 8551b9f..25fc1ba 100644 --- a/tools/regression/mqueue/mqtest1/mqtest1.c +++ b/tools/regression/mqueue/mqtest1/mqtest1.c @@ -1,10 +1,11 @@ /* $FreeBSD$ */ -#include <stdio.h> -#include <mqueue.h> +#include <err.h> +#include <errno.h> #include <fcntl.h> +#include <mqueue.h> #include <signal.h> -#include <errno.h> +#include <stdio.h> #define MQNAME "/mytstqueue1" diff --git a/tools/regression/mqueue/mqtest2/mqtest2.c b/tools/regression/mqueue/mqtest2/mqtest2.c index f37af20..bfe6d97 100644 --- a/tools/regression/mqueue/mqtest2/mqtest2.c +++ b/tools/regression/mqueue/mqtest2/mqtest2.c @@ -1,8 +1,13 @@ /* $FreeBSD$ */ -#include <stdio.h> -#include <mqueue.h> + +#include <sys/types.h> +#include <sys/wait.h> +#include <err.h> #include <fcntl.h> +#include <mqueue.h> #include <signal.h> +#include <stdio.h> +#include <stdlib.h> #include <unistd.h> #define MQNAME "/mytstqueue2" diff --git a/tools/regression/mqueue/mqtest3/mqtest3.c b/tools/regression/mqueue/mqtest3/mqtest3.c index e2d8a9e..aa47ffa 100644 --- a/tools/regression/mqueue/mqtest3/mqtest3.c +++ b/tools/regression/mqueue/mqtest3/mqtest3.c @@ -1,10 +1,15 @@ /* $FreeBSD$ */ -#include <stdio.h> -#include <mqueue.h> + +#include <sys/types.h> +#include <sys/select.h> +#include <sys/wait.h> +#include <err.h> #include <fcntl.h> +#include <mqueue.h> #include <signal.h> +#include <stdio.h> +#include <stdlib.h> #include <unistd.h> -#include <sys/select.h> #define MQNAME "/mytstqueue3" #define LOOPS 1000 diff --git a/tools/regression/mqueue/mqtest4/mqtest4.c b/tools/regression/mqueue/mqtest4/mqtest4.c index a49c210..80a7f88 100644 --- a/tools/regression/mqueue/mqtest4/mqtest4.c +++ b/tools/regression/mqueue/mqtest4/mqtest4.c @@ -1,11 +1,16 @@ /* $FreeBSD$ */ -#include <stdio.h> -#include <mqueue.h> + +#include <sys/types.h> +#include <sys/event.h> +#include <sys/select.h> +#include <sys/wait.h> +#include <err.h> #include <fcntl.h> +#include <mqueue.h> #include <signal.h> +#include <stdio.h> +#include <stdlib.h> #include <unistd.h> -#include <sys/select.h> -#include <sys/event.h> #define MQNAME "/mytstqueue4" #define LOOPS 1000 diff --git a/tools/regression/mqueue/mqtest5/mqtest5.c b/tools/regression/mqueue/mqtest5/mqtest5.c index adf54dc..354a7bb 100644 --- a/tools/regression/mqueue/mqtest5/mqtest5.c +++ b/tools/regression/mqueue/mqtest5/mqtest5.c @@ -1,12 +1,16 @@ /* $FreeBSD$ */ -#include <stdio.h> -#include <mqueue.h> + +#include <sys/types.h> +#include <sys/event.h> +#include <sys/select.h> +#include <sys/wait.h> +#include <err.h> #include <fcntl.h> +#include <mqueue.h> #include <signal.h> +#include <stdio.h> +#include <stdlib.h> #include <unistd.h> -#include <sys/select.h> -#include <sys/event.h> -#include <signal.h> #define MQNAME "/mytstqueue5" #define LOOPS 1000 |