opnsense-ports/comms/jsdr/files/patch-make-x64_jff-include.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
336 B
C

--- make-x64/jff-include.h.orig
+++ make-x64/jff-include.h
@@ -32,10 +32,16 @@
#include <complex>
#include <stdint.h>
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#ifndef __MINGW32__
+#ifndef __FreeBSD__
#include "alloca.h"
#endif
+#endif
#ifdef __MINGW32__
#define CURRENT_VERSION "4.1:x64"