From e851b5b43ae33ca96aaa4c7bde909a5bf0d27f18 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Mon, 7 Dec 2020 09:47:53 +0500 Subject: [PATCH] Include "config.h" in tests --- tests/multiboot2_print1.c | 4 ++++ tests/multiboot2_print2.c | 4 ++++ tests/test_cmdline.c | 4 ++++ tests/test_multiboot2_helpers.c | 4 ++++ tests/test_multiboot2_print.c | 4 ++++ tests/test_multiboot2_validation.c | 4 ++++ tests/test_pfa.c | 4 ++++ tests/test_printf.c | 4 ++++ tests/test_stdlib.c | 4 ++++ 9 files changed, 36 insertions(+) diff --git a/tests/multiboot2_print1.c b/tests/multiboot2_print1.c index a9399be..4785294 100644 --- a/tests/multiboot2_print1.c +++ b/tests/multiboot2_print1.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/tests/multiboot2_print2.c b/tests/multiboot2_print2.c index 5110a8f..6b9dd20 100644 --- a/tests/multiboot2_print2.c +++ b/tests/multiboot2_print2.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/tests/test_cmdline.c b/tests/test_cmdline.c index f48368d..3131da7 100644 --- a/tests/test_cmdline.c +++ b/tests/test_cmdline.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/tests/test_multiboot2_helpers.c b/tests/test_multiboot2_helpers.c index b771700..77c2264 100644 --- a/tests/test_multiboot2_helpers.c +++ b/tests/test_multiboot2_helpers.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/tests/test_multiboot2_print.c b/tests/test_multiboot2_print.c index 42262c4..7cbd479 100644 --- a/tests/test_multiboot2_print.c +++ b/tests/test_multiboot2_print.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #define __USE_POSIX2 diff --git a/tests/test_multiboot2_validation.c b/tests/test_multiboot2_validation.c index 12da064..b112d6b 100644 --- a/tests/test_multiboot2_validation.c +++ b/tests/test_multiboot2_validation.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/tests/test_pfa.c b/tests/test_pfa.c index baec789..ed4c1ee 100644 --- a/tests/test_pfa.c +++ b/tests/test_pfa.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/tests/test_printf.c b/tests/test_printf.c index bda5c4b..68758f6 100644 --- a/tests/test_printf.c +++ b/tests/test_printf.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/tests/test_stdlib.c b/tests/test_stdlib.c index 8949fb6..981e458 100644 --- a/tests/test_stdlib.c +++ b/tests/test_stdlib.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include