summaryrefslogtreecommitdiff
path: root/repo/zynaddsubfx/fix-memset.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/zynaddsubfx/fix-memset.patch')
-rw-r--r--repo/zynaddsubfx/fix-memset.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/repo/zynaddsubfx/fix-memset.patch b/repo/zynaddsubfx/fix-memset.patch
new file mode 100644
index 0000000..1439804
--- /dev/null
+++ b/repo/zynaddsubfx/fix-memset.patch
@@ -0,0 +1,11 @@
+--- a/src/globals.h 2015-06-28 00:25:59.000000000 +0200
++++ b/src/globals.h 2015-10-03 15:34:18.914712672 +0200
+@@ -25,6 +25,8 @@
+ #ifndef GLOBALS_H
+ #define GLOBALS_H
+
++#include <string.h> /* memset(3) */
++
+ #if defined(__clang__)
+ #define REALTIME __attribute__((annotate("realtime")))
+ #define NONREALTIME __attribute__((annotate("nonrealtime")))