From 3b134ef2655228f6ec5b703166502519f18a52a0 Mon Sep 17 00:00:00 2001 From: guenther Date: Sat, 27 Aug 2016 04:34:28 +0000 Subject: [PATCH] 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(-) 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[]) { -- 2.20.1