Fixed CMake issue and missing inttypes.h

This commit is contained in:
David E. Tiller 2022-04-29 20:11:10 +01:00
parent 52d3d84f48
commit b17f6f0360
3 changed files with 9 additions and 1 deletions

View File

@ -478,12 +478,18 @@ list(APPEND pkttest_SOURCES
pkttest.c
bch.c
eotd.c
textcolor.c
)
add_executable(pkttest
${pkttest_SOURCES}
)
target_link_libraries(pkttest
${MISC_LIBRARIES}
Threads::Threads
)
list(APPEND bchapply_SOURCES
bchapply.c
bch.c

View File

@ -1,5 +1,6 @@
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include "bch.h"
#define SHOW_BYTES

View File

@ -1,5 +1,6 @@
#include <stdio.h>
#include <strings.h>
#include <string.h>
#include <inttypes.h>
#include "bch.h"
#include "eotd.h"
#include "eotd_defs.h"