summaryrefslogtreecommitdiff
path: root/package/alsa-lib/patches/patch-include_local_h
blob: 5897edf59c107bc2b2a31c6b7cb4a018af8a330d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>