OSDN Git Service

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 106a020..a24722d 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>