]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Add inclusion of time.h
authorTakashi Iwai <tiwai@suse.de>
Tue, 11 Jan 2005 15:08:58 +0000 (15:08 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jan 2005 15:08:58 +0000 (15:08 +0000)
timeval and timespec structs need time.h.

include/global.h

index 9a91803f2c694a204135f4619bd462615a4b1d66..b6fd61f2ea4035c0e911fd1febb81e5a5ced3c02 100644 (file)
@@ -28,6 +28,9 @@
 #ifndef __ALSA_GLOBAL_H_
 #define __ALSA_GLOBAL_H_
 
+/* for timeval and timespec */
+#include <time.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif