diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b637958..92db188c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,12 +98,12 @@ ENDIF () ADD_CUSTOM_COMMAND( OUTPUT embedded-probes.h - COMMAND ${PROJECT_SOURCE_DIR}/misc/probe2trace.pl -a embedded < ${PROJECT_SOURCE_DIR}/quicly-probes.d > ${CMAKE_CURRENT_BINARY_DIR}/embedded-probes.h + COMMAND perl ${PROJECT_SOURCE_DIR}/misc/probe2trace.pl -a embedded < ${PROJECT_SOURCE_DIR}/quicly-probes.d > ${CMAKE_CURRENT_BINARY_DIR}/embedded-probes.h DEPENDS quicly-probes.d misc/probe2trace.pl VERBATIM) ADD_CUSTOM_COMMAND( OUTPUT quicly-tracer.h - COMMAND ${PROJECT_SOURCE_DIR}/misc/probe2trace.pl -a tracer < ${PROJECT_SOURCE_DIR}/quicly-probes.d > ${CMAKE_CURRENT_BINARY_DIR}/quicly-tracer.h + COMMAND perl ${PROJECT_SOURCE_DIR}/misc/probe2trace.pl -a tracer < ${PROJECT_SOURCE_DIR}/quicly-probes.d > ${CMAKE_CURRENT_BINARY_DIR}/quicly-tracer.h DEPENDS quicly-probes.d misc/probe2trace.pl VERBATIM) diff --git a/src/cli.c b/src/cli.c index d738156f..3b4192c3 100644 --- a/src/cli.c +++ b/src/cli.c @@ -38,6 +38,7 @@ #include "quicly/defaults.h" #include "quicly/streambuf.h" #include "../deps/picotls/t/util.h" +#include #define MAX_BURST_PACKETS 10