mirror of https://github.com/wb2osz/direwolf.git
Fixed CMake issue and missing inttypes.h
This commit is contained in:
parent
52d3d84f48
commit
b17f6f0360
|
@ -478,12 +478,18 @@ list(APPEND pkttest_SOURCES
|
||||||
pkttest.c
|
pkttest.c
|
||||||
bch.c
|
bch.c
|
||||||
eotd.c
|
eotd.c
|
||||||
|
textcolor.c
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(pkttest
|
add_executable(pkttest
|
||||||
${pkttest_SOURCES}
|
${pkttest_SOURCES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries(pkttest
|
||||||
|
${MISC_LIBRARIES}
|
||||||
|
Threads::Threads
|
||||||
|
)
|
||||||
|
|
||||||
list(APPEND bchapply_SOURCES
|
list(APPEND bchapply_SOURCES
|
||||||
bchapply.c
|
bchapply.c
|
||||||
bch.c
|
bch.c
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include "bch.h"
|
#include "bch.h"
|
||||||
|
|
||||||
#define SHOW_BYTES
|
#define SHOW_BYTES
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <strings.h>
|
#include <string.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include "bch.h"
|
#include "bch.h"
|
||||||
#include "eotd.h"
|
#include "eotd.h"
|
||||||
#include "eotd_defs.h"
|
#include "eotd_defs.h"
|
||||||
|
|
Loading…
Reference in New Issue