summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-lib/fix-tstamp-declaration.patch
blob: 32b84b7d7eba7c1ea0245ee931135a0abfb2486e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Author: Michael Lauer <mickey@vanille-media.de>
# Date:   Thu Jan 18 00:27:21 2007 +0000
# alsa-lib: fix "error: field 'tstamp' has incomplete type" when including alsa headers with strict compilation options
#
# Acquired from OpenEmbedded

Upstream-Status: Pending

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