391
|
1 |
--- alsa-lib-1.0.14a/include/global.h.orig 2007-08-12 08:33:45.691690638 +0700
|
|
2 |
+++ alsa-lib-1.0.14a/include/global.h 2007-08-12 08:36:20.313577244 +0700
|
|
3 |
@@ -130,7 +130,12 @@
|
|
4 |
|
|
5 |
int snd_user_file(const char *file, char **result);
|
|
6 |
|
|
7 |
-#if !defined(_POSIX_C_SOURCE) && !defined(_POSIX_SOURCE)
|
|
8 |
+#if defined(sun) && !defined(_ALLOCA_H)
|
|
9 |
+#include <alloca.h>
|
|
10 |
+#endif
|
|
11 |
+
|
|
12 |
+#if !defined(_POSIX_C_SOURCE) && !defined(_POSIX_SOURCE) && \
|
|
13 |
+ !defined(_SYS_TIME_IMPL_H)
|
|
14 |
struct timeval {
|
|
15 |
time_t tv_sec; /* seconds */
|
|
16 |
long tv_usec; /* microseconds */
|