aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/alsa-lib/timeval.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/alsa-lib/timeval.patch')
-rw-r--r--tools/depends/target/alsa-lib/timeval.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/depends/target/alsa-lib/timeval.patch b/tools/depends/target/alsa-lib/timeval.patch
new file mode 100644
index 0000000000..6a7c1f0cdd
--- /dev/null
+++ b/tools/depends/target/alsa-lib/timeval.patch
@@ -0,0 +1,11 @@
+--- include/global.h 2010-04-16 07:11:05.000000000 -0400
++++ include/global.h 2012-05-25 15:38:15.494855247 -0400
+@@ -133,7 +133,7 @@
+
+ int snd_user_file(const char *file, char **result);
+
+-#if !defined(_POSIX_C_SOURCE) && !defined(_POSIX_SOURCE)
++#if !defined(_POSIX_C_SOURCE) && !defined(_POSIX_SOURCE) $$ !defined(ANDROID)
+ struct timeval {
+ time_t tv_sec; /* seconds */
+ long tv_usec; /* microseconds */