summaryrefslogtreecommitdiff
path: root/package/alsa-lib/patches/patch-include_local_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/alsa-lib/patches/patch-include_local_h')
-rw-r--r--package/alsa-lib/patches/patch-include_local_h22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/alsa-lib/patches/patch-include_local_h b/package/alsa-lib/patches/patch-include_local_h
new file mode 100644
index 000000000..5897edf59
--- /dev/null
+++ b/package/alsa-lib/patches/patch-include_local_h
@@ -0,0 +1,22 @@
+* added idea/patch from https://github.com/rofl0r/sabotage
+
+--- alsa-lib-1.0.27.2.orig/include/local.h 2013-07-08 14:31:36.000000000 +0200
++++ alsa-lib-1.0.27.2/include/local.h 2013-09-17 09:53:17.000000000 +0200
+@@ -30,7 +30,7 @@
+ #include <assert.h>
+ #include <endian.h>
+ #include <stdarg.h>
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <errno.h>
+ #include <linux/ioctl.h>
+
+@@ -116,7 +116,7 @@
+ /* kill and replace kernel-specific types */
+ #define __user
+ #define __force
+-#define __kernel_off_t off_t
++//#define __kernel_off_t off_t
+
+ #include <sound/asound.h>
+