From 41ed3d27336a5fea9b176655c8ca64ce3c297d48 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 27 Aug 2016 04:34:29 +0000 Subject: Pull in for struct timeval includes go before <*.h> includes ok deraadt@ --- regress/sys/kern/ptmget/ptmget.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'regress/sys') diff --git a/regress/sys/kern/ptmget/ptmget.c b/regress/sys/kern/ptmget/ptmget.c index 24fb09b730f..5c1b0713bd1 100644 --- a/regress/sys/kern/ptmget/ptmget.c +++ b/regress/sys/kern/ptmget/ptmget.c @@ -1,9 +1,15 @@ -/* $OpenBSD: ptmget.c,v 1.2 2004/12/22 00:54:39 david Exp $ */ +/* $OpenBSD: ptmget.c,v 1.3 2016/08/27 04:34:28 guenther Exp $ */ /* * Written by Bob Beck 2004 Public Domain. * Basic test to ensure /dev/ptm works, and what it returns * can be used via tty(4); */ +#include +#include +#include +#include +#include + #include #include #include @@ -11,11 +17,6 @@ #include #include -#include -#include -#include -#include - int main(int argc, char *argv[]) { -- cgit v1.2.3