diff options
Diffstat (limited to 'comms/dabstick-radio/files/patch-jff-include.h')
-rw-r--r-- | comms/dabstick-radio/files/patch-jff-include.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/comms/dabstick-radio/files/patch-jff-include.h b/comms/dabstick-radio/files/patch-jff-include.h new file mode 100644 index 000000000000..5a2884382853 --- /dev/null +++ b/comms/dabstick-radio/files/patch-jff-include.h @@ -0,0 +1,21 @@ +--- jff-include.h.orig ++++ jff-include.h +@@ -32,12 +32,18 @@ + #include <complex> + #include <stdint.h> + ++#ifdef __FreeBSD__ ++#include <stdlib.h> ++#else + #include <malloc.h> ++#endif + + #ifdef __MINGW32__ + #include "windows.h" + #else ++#ifndef __FreeBSD__ + #include "alloca.h" ++#endif + #include "dlfcn.h" + typedef void *HINSTANCE; + #endif |