Skip to content

Commit

Permalink
Add missing includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobilinkd committed Jul 9, 2021
1 parent fc7a25c commit be5e5f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TNC/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#include <Log.h>
#include "PortInterface.hpp"

#include <cstdlib>
#include <cstdio>

void log_(int level, const char* fmt, ...)
{
if (level < mobilinkd::tnc::log().level_) return;
Expand Down Expand Up @@ -34,7 +37,7 @@ Log& log(void) {

#endif

#if 1
#ifdef NUCLEOTNC
void Log::log(Level level, const char* fmt, ...) {

if (level < level_) return;
Expand Down

0 comments on commit be5e5f0

Please sign in to comment.