From f64915a26b32719a8e9babfe7eba69c8d9a8f673 Mon Sep 17 00:00:00 2001 From: Luigi Scarso <luigi.scarso@gmail.com> Date: Sun, 12 Feb 2017 21:13:46 +0000 Subject: [PATCH] fix incomplete support of complex.h in *bsd* [[Split portion of a mixed commit.]] --- source/texk/web2c/luatexdir/luaffi/ffi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/texk/web2c/luatexdir/luaffi/ffi.h b/source/texk/web2c/luatexdir/luaffi/ffi.h index 35ab77833..aee106437 100644 --- a/source/texk/web2c/luatexdir/luaffi/ffi.h +++ b/source/texk/web2c/luatexdir/luaffi/ffi.h @@ -42,7 +42,7 @@ extern "C" { #include <sys/mman.h> #endif -#ifdef _WIN32 +#ifdef _WIN32 || _FreeBSD__ || __NetBSD__ || __OpenBSD__ || __bsdi__ || __DragonFly__ /* We should include something equivalent to */ /* complex.h */ #else @@ -51,6 +51,7 @@ extern "C" { #define HAVE_LONG_DOUBLE #endif + #ifndef NDEBUG #define DASM_CHECKS #endif -- GitLab