Skip to content
Snippets Groups Projects
Commit e08af1ba authored by Julian Bouzas's avatar Julian Bouzas
Browse files

tests: fix redefined warnings when building spa-props test

parent cfbcb5ec
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,11 @@ test(
test(
'test-spa-props',
executable('test-spa-props', 'spa-props.c',
executable('test-spa-props',
[
'spa-props.c',
'../../lib/wp/spa-props.c'
],
dependencies: common_deps, c_args: common_args),
env: common_env,
)
......
......@@ -6,13 +6,11 @@
* SPDX-License-Identifier: MIT
*/
/* private functions, they should be hidden in the shared library */
#include "wp/spa-props.c"
#include "wp/spa-type.c"
#include "wp/iterator.c"
#include "wp/spa-pod.c"
#include <spa/pod/iter.h>
#include <spa/pod/vararg.h>
#include <spa/param/props.h>
#include "../../lib/wp/private.h"
#include <wp/wp.h>
......
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