poky/meta/recipes-multimedia/alsa/alsa-lib-1.0.25/fix-tstamp-declaration.patch
Kang Kai 1a467d8d8c alsa-lib: update to 1.0.25
Update to version 1.0.25, rename the patch directory at same time.

(From OE-Core rev: 555bd3102fcd83d728091e074977b5a4228a2b1b)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14 13:17:42 +00:00

22 lines
624 B
Diff

# 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