diff options
author | - <makepost@firemail.cc> | 2019-05-02 17:35:29 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-05-02 17:35:29 +0000 |
commit | 45d38856c8856b5550bb5656bda60ea674ca52c0 (patch) | |
tree | 236329f1121d3678bce2444180a3748a9f338fde /tools | |
parent | 4071225cdc12a36a08ddd3102a3dd17d4006c320 (diff) | |
download | weston-45d38856c8856b5550bb5656bda60ea674ca52c0.tar.gz |
zunitc: Fix undeclared identifier 'NULL'
Since v6 release, -Dtest-junit-xml=false build regressed because its
ifdef branch no longer includes stddef.h and thus NULL, either directly
or through another header. Using musl-1.1.22 and llvm-8.0.0.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/zunitc/src/zuc_junit_reporter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/zunitc/src/zuc_junit_reporter.c b/tools/zunitc/src/zuc_junit_reporter.c index c0457f21..42acad91 100644 --- a/tools/zunitc/src/zuc_junit_reporter.c +++ b/tools/zunitc/src/zuc_junit_reporter.c @@ -460,6 +460,7 @@ zuc_junit_reporter_create(void) #else /* ENABLE_JUNIT_XML */ +#include <stddef.h> #include "zuc_event_listener.h" /* |