summaryrefslogtreecommitdiff
path: root/packages/alsa/alsa-lib/fix-tstamp-declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/alsa/alsa-lib/fix-tstamp-declaration.patch')
-rw-r--r--packages/alsa/alsa-lib/fix-tstamp-declaration.patch13
1 files changed, 13 insertions, 0 deletions
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