Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
zunitc: Fix undeclared identifier 'NULL'
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nykula authored and satyeshwar committed Nov 1, 2019
1 parent 1c91abb commit d2f6e8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/zunitc/src/zuc_junit_reporter.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ zuc_junit_reporter_create(void)

#else /* ENABLE_JUNIT_XML */

#include <stddef.h>
#include "zuc_event_listener.h"

/*
Expand Down

0 comments on commit d2f6e8d

Please sign in to comment.