From b0f82d22f9f60a0a8db1976751aa5a875e7c5f80 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Thu, 30 Jan 2020 12:46:39 +0100 Subject: [PATCH] zipl/libc: include 's390.h' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include 'boot/s390.h' in 'libc.c' as `PAGE_SIZE` is used there and move the 'libc.h' include directive to the top. Reviewed-by: Philipp Rudo Reviewed-by: Stefan Haberland Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- zipl/boot/libc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zipl/boot/libc.c b/zipl/boot/libc.c index 4db5bab7..958877e2 100644 --- a/zipl/boot/libc.c +++ b/zipl/boot/libc.c @@ -9,12 +9,14 @@ * it under the terms of the MIT license. See LICENSE for details. */ +#include "libc.h" + #include #include "lib/zt_common.h" +#include "boot/s390.h" #include "error.h" -#include "libc.h" #include "sclp.h" extern char __heap_start[];