From 6510dc9e4500ee1dd6a9cd54f1839a03253dc06a Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Fri, 31 Jul 2020 01:55:06 +0800 Subject: [PATCH] Fix compliation of non-dynarec build sysconf() is part of unistd.h, and src/main.c uses it. However, this source code file only includes when DYNAREC, makes non-dynarec build fail for missing _SC_PAGESIZE macro. Move the inclusion of out of #ifdef DYNAREC. Signed-off-by: Icenowy Zheng --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index d91be56b54..2097aea8ec 100755 --- a/src/main.c +++ b/src/main.c @@ -16,8 +16,8 @@ #include #include #include -#ifdef DYNAREC #include +#ifdef DYNAREC #ifdef ARM #include #include