From 1a494ccfbea2b5fd3946d5ca2d829b2462ee5164 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 10 Nov 2020 15:37:48 -0800 Subject: tests/28 multiline string: include required headers we're relying on printf being defined with stdio.h, which happens to work sometimes. It doesn't work with Apple clang though. --- test cases/common/28 multiline string/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test cases/common/28 multiline string/meson.build b/test cases/common/28 multiline string/meson.build index 9cec114..a87d29a 100644 --- a/test cases/common/28 multiline string/meson.build +++ b/test cases/common/28 multiline string/meson.build @@ -26,6 +26,8 @@ endif cc = meson.get_compiler('c') prog = ''' +#include + int main(void) { int num = 1; printf("%d\n", num); -- cgit v1.1