Skip to content

Commit

Permalink
fix windows include
Browse files Browse the repository at this point in the history
  • Loading branch information
computergeek1507 committed Oct 14, 2024
1 parent fa2ec00 commit 6b37c82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xLights/utils/ip_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@
#include <wx/regex.h>
#include <wx/sckaddr.h>

#ifndef __WXMSW__
#include <netdb.h>
#include <arpa/inet.h>
#else
#include <ws2tcpip.h>
#endif

#include <map>
#include <mutex>
Expand Down

1 comment on commit 6b37c82

@derwin12
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your build works .. call it done!

Please sign in to comment.