forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
19 lines
336 B
C
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"
|