summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 04:32:45 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 04:32:45 +0000
commitc82d146c030462fa3e4d75e4d928ebf46e47a8dc (patch)
tree16fb23e72835e3aa9602f042340c6ff0f94ffbab /regress
parentb78573b16f2931ddd2b1c56cb4d5b3b3c5aa0f50 (diff)
Pull in <sys/time.h> for gettimeofday()
Sort #includes ok deraadt@
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/dev/audio/autest.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/regress/sys/dev/audio/autest.c b/regress/sys/dev/audio/autest.c
index fd2a31f9856..a8ce56ceee0 100644
--- a/regress/sys/dev/audio/autest.c
+++ b/regress/sys/dev/audio/autest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autest.c,v 1.12 2007/04/25 15:27:54 jason Exp $ */
+/* $OpenBSD: autest.c,v 1.13 2016/08/27 04:32:44 guenther Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -29,15 +29,16 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/audioio.h>
-#include <string.h>
-#include <fcntl.h>
+#include <sys/time.h>
#include <err.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <limits.h>
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <math.h>
+#include <string.h>
#include <unistd.h>
-#include <errno.h>
-#include <limits.h>
/* XXX ADPCM is currently pretty broken... diagnosis and fix welcome */
#undef USE_ADPCM