Skip to content
Snippets Groups Projects
Commit f9bfabfe authored by Serge Petrenko's avatar Serge Petrenko Committed by Vladimir Davydov
Browse files

test: make unit.h self sufficient

Unit test compilation with `#define UNIT_TAP_COMPATIBLE 1` might fail
with an error complaining that <stdarg.h> is not included. Fix this.

In-scope-of #4264

NO_CHANGELOG=testing stuff
NO_DOC=testing stuff

(cherry picked from commit b9fd4557)
parent e543004b
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,8 @@ int check_plan(void);
#if UNIT_TAP_COMPATIBLE
#include <stdarg.h> /* va_start(), va_end() */
#define header() \
do { \
_space(stdout); \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment