aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-08-07 15:32:47 +0200
committerTakashi Iwai <tiwai@suse.de>2007-08-07 15:32:47 +0200
commit925de93f2b73c4561a8979bf59f81be5dfd2187f (patch)
tree04c05faf07cee4dbfafe79de2ad9e96b4a405b7a
parent8715e14c8470b8526099664b678abdb76a09ab35 (diff)
downloadsalsa-lib-925de93f2b73c4561a8979bf59f81be5dfd2187f.tar.gz
fix build with --disable-async
-rw-r--r--ChangeLog1
-rw-r--r--src/global.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 621f2e0..1b67013 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@ Version 0.0.10:
* Rewrite memory allocation, free, copy, etc with helper macros
* Fix missing function declarations for snd_ctl_elem_add*()
and snd_mixer_selem_get_enum_item_name()
+ * Fix build with --disable-async
Version 0.0.9:
* Add --with-alsa-devdir configure option to specify the
diff --git a/src/global.h b/src/global.h
index 6fadc5e..74a861d 100644
--- a/src/global.h
+++ b/src/global.h
@@ -22,6 +22,8 @@
#ifndef __ALSA_GLOBAL_H
#define __ALSA_GLOBAL_H
+#include <errno.h>
+
typedef struct _snd_config snd_config_t;
typedef struct timeval snd_timestamp_t;