void-packages/srcpkgs/zynaddsubfx/patches/fix-memset.patch

12 lines
347 B
Diff

--- src/globals.h 2015-06-28 00:25:59.000000000 +0200
+++ 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")))