summaryrefslogtreecommitdiff
path: root/kernel/compatibility.h
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/compatibility.h
parent0e658dbc0267c4dd75d9a771b734c7751f5e6e35 (diff)
Hotfix for kernel/compatibility.h
Diffstat (limited to 'kernel/compatibility.h')
-rw-r--r--kernel/compatibility.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/compatibility.h b/kernel/compatibility.h
index 58e0b52e..c7603c8a 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