summaryrefslogtreecommitdiff
path: root/package/pulseaudio/patches/patch-src_pulsecore_sample-util_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/pulseaudio/patches/patch-src_pulsecore_sample-util_h')
-rw-r--r--package/pulseaudio/patches/patch-src_pulsecore_sample-util_h17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/pulseaudio/patches/patch-src_pulsecore_sample-util_h b/package/pulseaudio/patches/patch-src_pulsecore_sample-util_h
new file mode 100644
index 000000000..15b0996b8
--- /dev/null
+++ b/package/pulseaudio/patches/patch-src_pulsecore_sample-util_h
@@ -0,0 +1,17 @@
+--- pulseaudio-7.1.orig/src/pulsecore/sample-util.h 2015-09-10 06:51:41.000000000 +0200
++++ pulseaudio-7.1/src/pulsecore/sample-util.h 2015-11-01 18:52:13.000000000 +0100
+@@ -24,6 +24,14 @@
+ #include <inttypes.h>
+ #include <limits.h>
+
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++
++#ifdef HAVE_SYS_USER_H
++#include <sys/user.h> /* required by _WORDIZE with musl */
++#endif
++
+ #include <pulse/gccmacro.h>
+ #include <pulse/sample.h>
+ #include <pulse/volume.h>