From f9cb81fa27ca6ae4fef1c22081040071d20e4413 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Mon, 30 Oct 2023 11:59:29 +0000 Subject: Assume C compiler's default standard is `-std=gnu17` Newer compilers use `-std=gnu17` as the default when compiling C code. Fix all the test cases that violate this behaviour or explicitly request older standards `-std=c89` where necessary. --- test/Runtime/POSIX/Write1.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/Runtime/POSIX/Write1.c') diff --git a/test/Runtime/POSIX/Write1.c b/test/Runtime/POSIX/Write1.c index 5fc4ff8f..7f1e6f20 100644 --- a/test/Runtime/POSIX/Write1.c +++ b/test/Runtime/POSIX/Write1.c @@ -2,8 +2,10 @@ // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --exit-on-error --libc=uclibc --posix-runtime %t.bc --sym-files 1 10 --sym-stdout 2>%t.log -#include +#include "klee/klee.h" #include +#include +#include int main(int argc, char** argv) { char buf[32]; -- cgit 1.4.1