summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-lib-1.0.23/fix-tstamp-declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib-1.0.23/fix-tstamp-declaration.patch')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib-1.0.23/fix-tstamp-declaration.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib-1.0.23/fix-tstamp-declaration.patch b/meta/recipes-multimedia/alsa/alsa-lib-1.0.23/fix-tstamp-declaration.patch
new file mode 100644
index 0000000000..9016b348de
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-lib-1.0.23/fix-tstamp-declaration.patch
@@ -0,0 +1,19 @@
1# Author: Michael Lauer <mickey@vanille-media.de>
2# Date: Thu Jan 18 00:27:21 2007 +0000
3# alsa-lib: fix "error: field 'tstamp' has incomplete type" when including alsa headers with strict compilation options
4#
5# Acquired from OpenEmbedded
6
7Index: alsa-lib-1.0.13/include/global.h
8===================================================================
9--- alsa-lib-1.0.13.orig/include/global.h
10+++ alsa-lib-1.0.13/include/global.h
11@@ -29,6 +29,8 @@
12 #define __ALSA_GLOBAL_H_
13
14 /* for timeval and timespec */
15+#define __need_timeval
16+#define __need_timespec
17 #include <time.h>
18
19 #ifdef __cplusplus