diff --git a/pkgs/by-name/en/ensemble-chorus/add-missing-cstdint-includes.patch b/pkgs/by-name/en/ensemble-chorus/add-missing-cstdint-includes.patch new file mode 100644 index 000000000000..79576250787a --- /dev/null +++ b/pkgs/by-name/en/ensemble-chorus/add-missing-cstdint-includes.patch @@ -0,0 +1,25 @@ +diff --git a/sources/core/dsp.h b/sources/core/dsp.h +index 5e3b1c6..b1a4f2d 100644 +--- a/sources/core/dsp.h ++++ b/sources/core/dsp.h +@@ -5,6 +5,7 @@ + #pragma once + + #include ++#include + + namespace dsp { + + uint32_t fastrandom(uint32_t *pseed); + +diff --git a/sources/fl/main_controller.h b/sources/fl/main_controller.h +index 9a7c6b0..e3d4f1a 100644 +--- a/sources/fl/main_controller.h ++++ b/sources/fl/main_controller.h +@@ -6,6 +6,7 @@ + + #pragma once + #include ++#include + class Message_Queue; + struct Basic_Message; diff --git a/pkgs/by-name/en/ensemble-chorus/package.nix b/pkgs/by-name/en/ensemble-chorus/package.nix index 87feeb3f144e..17668f30ced8 100644 --- a/pkgs/by-name/en/ensemble-chorus/package.nix +++ b/pkgs/by-name/en/ensemble-chorus/package.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation { patches = [ # fix compile error regarding packed attribute in 3rd party juice library ./juice-cxx-packing-fix.diff + ./add-missing-cstdint-includes.patch ]; nativeBuildInputs = [