aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/alsa/alsa-lib/fix-tstamp-declaration.patch
blob: 59b3b6d150087cc3a44951649a977a9fbf5e31d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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