Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
15 lines
372 B
C++
15 lines
372 B
C++
--- swreceiver/swdecoders/mfskdecoder/mfskdecoder.cpp.orig
|
|
+++ swreceiver/swdecoders/mfskdecoder/mfskdecoder.cpp
|
|
@@ -32,8 +32,12 @@
|
|
#include "mfskdecoder.h"
|
|
#include "oscillator.h"
|
|
#ifndef __MINGW32__
|
|
+#ifdef __FreeBSD__
|
|
+#include <stdlib.h>
|
|
+#else
|
|
#include "alloca.h"
|
|
#endif
|
|
+#endif
|
|
|
|
#define BitIsContained(pat, bit) ((pat) & (1 << (mfskNumBits - (bit + 1))))
|
|
/*
|