aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-03-13 12:55:15 +0100
committerClifford Wolf <clifford@clifford.at>2014-03-13 12:55:15 +0100
commit542afc562fa8b828f3c87e9dbe47a373ac09f147 (patch)
treeb24eae99d08d41f8fb97163d310048e21aa5b03b /kernel
parent0e658dbc0267c4dd75d9a771b734c7751f5e6e35 (diff)
downloadyosys-542afc562fa8b828f3c87e9dbe47a373ac09f147.tar.gz
yosys-542afc562fa8b828f3c87e9dbe47a373ac09f147.tar.bz2
yosys-542afc562fa8b828f3c87e9dbe47a373ac09f147.zip
Hotfix for kernel/compatibility.h
Diffstat (limited to 'kernel')
-rw-r--r--kernel/compatibility.h3
1 files changed, 2 insertions, 1 deletions
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 <stdio.h>
#include <stdlib.h>
+#if !(_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L)
+
#define open_memstream compat_open_memstream
#define fmemopen compat_fmemopen