From: Clifford Wolf Date: Thu, 13 Mar 2014 11:55:15 +0000 (+0100) Subject: Hotfix for kernel/compatibility.h X-Git-Tag: yosys-0.3.0~56 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=542afc562fa8b828f3c87e9dbe47a373ac09f147;p=yosys.git Hotfix for kernel/compatibility.h --- diff --git a/kernel/compatibility.h b/kernel/compatibility.h index 58e0b52e9..c7603c8a5 100644 --- a/kernel/compatibility.h +++ b/kernel/compatibility.h @@ -20,10 +20,11 @@ #ifndef COMPATIBILITY_H #define COMPATIBILITY_H -#if !(_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L) #include #include +#if !(_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L) + #define open_memstream compat_open_memstream #define fmemopen compat_fmemopen