summaryrefslogtreecommitdiff
path: root/packages/alsa/alsa-lib
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-01-18 00:27:21 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-01-18 00:27:21 +0000
commitf61f3efe2389249c001107ccd55dac39e79ef2a1 (patch)
treea57f0b32abf603e22f93646f485b91f25d0b5c34 /packages/alsa/alsa-lib
parentdb46ab483b16f9ca9c5d148817cee0363b288ddd (diff)
alsa-lib: fix "error: field 'tstamp' has incomplete type" when including alsa headers with strict compilation options
Diffstat (limited to 'packages/alsa/alsa-lib')
-rw-r--r--packages/alsa/alsa-lib/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-lib/fix-tstamp-declaration.patch13
2 files changed, 13 insertions, 0 deletions
diff --git a/packages/alsa/alsa-lib/.mtn2git_empty b/packages/alsa/alsa-lib/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/alsa/alsa-lib/.mtn2git_empty
diff --git a/packages/alsa/alsa-lib/fix-tstamp-declaration.patch b/packages/alsa/alsa-lib/fix-tstamp-declaration.patch
new file mode 100644
index 0000000000..59b3b6d150
--- /dev/null
+++ b/packages/alsa/alsa-lib/fix-tstamp-declaration.patch
@@ -0,0 +1,13 @@
+Index: alsa-lib-1.0.13/include/global.h
+===================================================================
+--- alsa-lib-1.0.13.orig/include/global.h
++++ alsa-lib-1.0.13/include/global.h
+@@ -29,6 +29,8 @@
+ #define __ALSA_GLOBAL_H_
+
+ /* for timeval and timespec */
++#define __need_timeval
++#define __need_timespec
+ #include <time.h>
+
+ #ifdef __cplusplus