summaryrefslogtreecommitdiff
path: root/kernel/compatibility.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/compatibility.cc')
-rw-r--r--kernel/compatibility.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/compatibility.cc b/kernel/compatibility.cc
index 2ef023eb..4c4cbd6d 100644
--- a/kernel/compatibility.cc
+++ b/kernel/compatibility.cc
@@ -26,7 +26,7 @@
#include <string.h>
#include <errno.h>
-#if !(_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L)
+#if !(_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L || defined(EMSCRIPTEN))
typedef struct memstream {
off_t pos;