diff --git a/test/Makefile.am b/test/Makefile.am index 2e93b33c774d9b7eae1097d317a592bfc0144c31..1d1196b8dd5a9e0678a632b78b15e2082d07b156 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -90,8 +90,7 @@ test_src_input_stream_net_CFLAGS = $(AM_CFLAGS) -DTEST_NET test_src_input_stream_net_LDADD = $(LIBVLCCORE) $(LIBVLC) test_src_misc_bits_SOURCES = src/misc/bits.c test_src_misc_bits_LDADD = $(LIBVLC) -test_modules_packetizer_hxxx_SOURCES = modules/packetizer/hxxx.c \ - ../modules/packetizer/hxxx_nal.c ../modules/packetizer/hxxx_nal.h +test_modules_packetizer_hxxx_SOURCES = modules/packetizer/hxxx.c test_modules_packetizer_hxxx_LDADD = $(LIBVLC) checkall: diff --git a/test/modules/packetizer/hxxx.c b/test/modules/packetizer/hxxx.c index 3052f2fbb90ff1921ea3136cde2d86690ef9747a..a0ea85a94439f6285dcd4388527139940c69ae7a 100644 --- a/test/modules/packetizer/hxxx.c +++ b/test/modules/packetizer/hxxx.c @@ -26,6 +26,7 @@ #include #include #include "../modules/packetizer/hxxx_nal.h" +#include "../modules/packetizer/hxxx_nal.c" static void testannexbin( const uint8_t *p_data, size_t i_data, const uint8_t **pp_res, size_t *pi_res )