aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-11-10 15:37:48 -0800
committerDylan Baker <dylan@pnwbakers.com>2020-11-10 15:38:43 -0800
commit1a494ccfbea2b5fd3946d5ca2d829b2462ee5164 (patch)
tree0a674b06e56e264d2802715638be42bede6e0582
parent11ece5dbf3ebfd594ad4070327302925f5f351e9 (diff)
downloadmeson-1a494ccfbea2b5fd3946d5ca2d829b2462ee5164.zip
meson-1a494ccfbea2b5fd3946d5ca2d829b2462ee5164.tar.gz
meson-1a494ccfbea2b5fd3946d5ca2d829b2462ee5164.tar.bz2
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.
-rw-r--r--test cases/common/28 multiline string/meson.build2
1 files changed, 2 insertions, 0 deletions
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 <stdio.h>
+
int main(void) {
int num = 1;
printf("%d\n", num);