]> git.alsa-project.org Git - alsa-utils.git/commitdiff
aplay - Include missing time.h for time()
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Aug 2007 13:36:41 +0000 (15:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Aug 2007 13:36:41 +0000 (15:36 +0200)
With salsa-lib,
  aplay.c: In function ‘compute_max_peak’:
  aplay.c:1207: warning: implicit declaration of function ‘time’

aplay/aplay.c

index 106a0205ccfed195a29d7b3685ab39a5ff6ecfc8..a24722d4e292e2c75ac22290b39706ffc5b3a801 100644 (file)
@@ -37,6 +37,7 @@
 #include <ctype.h>
 #include <errno.h>
 #include <limits.h>
+#include <time.h>
 #include <locale.h>
 #include <alsa/asoundlib.h>
 #include <assert.h>