summaryrefslogtreecommitdiff
path: root/audio/faust/files/patch-architecture_faust_dsp_dsp-adapter.h
blob: 937474092a9c665a9ce80c0cfb3c853982d5b947 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- architecture/faust/dsp/dsp-adapter.h.orig	2024-12-26 11:33:55 UTC
+++ architecture/faust/dsp/dsp-adapter.h
@@ -26,7 +26,11 @@
 #define __dsp_adapter__
 
 #ifndef _WIN32
-#include <alloca.h>
+#  ifndef __FreeBSD__
+#    include <alloca.h>
+#  else
+#    include <stdlib.h>
+#  endif
 #endif
 #include <string.h>
 #include <cmath>