Skip to content

Commit cbd5f36

Browse files
committed
include <arpa/inet.h>
1 parent 131a577 commit cbd5f36

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

include/DMDUtil/DMD.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
#define DMDUTIL_MAX_PATH_SIZE 256
1616
#define DMDUTIL_MAX_TRANSITIONAL_FRAME_DURATION 25
1717

18+
#include <arpa/inet.h>
19+
1820
#include <atomic>
1921
#include <condition_variable>
2022
#include <cstdint>

src/DMD.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ void DMD::AddRGB24DMD(RGB24DMD* pRGB24DMD)
284284
{
285285
m_rgb24DMDs.push_back(pRGB24DMD);
286286
Log(DMDUtil_LogLevel_INFO, "Added RGB24DMD");
287-
if (!m_pRGB24DMDThread) {
287+
if (!m_pRGB24DMDThread)
288+
{
288289
m_pRGB24DMDThread = new std::thread(&DMD::RGB24DMDThread, this);
289290
Log(DMDUtil_LogLevel_INFO, "RGB24DMDThread started");
290291
}

src/dmdServer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include <arpa/inet.h>
2+
13
#include <algorithm>
24
#include <chrono>
35
#include <iostream>

0 commit comments

Comments
 (0)