Skip to content

Commit

Permalink
musl compatibility (#5219)
Browse files Browse the repository at this point in the history
* musl compat

* trunk fmt

* Update platform-native, including musl fix

meshtastic/platform-native#5

---------

Co-authored-by: Ben Meadors <[email protected]>
  • Loading branch information
vidplace7 and thebentern authored Nov 3, 2024
1 parent 448c754 commit 9415254
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/portduino/portduino.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; The Portduino based sim environment on top of any host OS, all hardware will be simulated
[portduino_base]
platform = https://github.com/meshtastic/platform-native.git#6b3796d697481c8f6e3f4aa5c111bd9979f29e64
platform = https://github.com/meshtastic/platform-native.git#bcd02436cfca91f7d28ad0f7dab977c6aaa781af
framework = arduino

build_src_filter =
Expand Down
1 change: 1 addition & 0 deletions src/mesh/RadioLibInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "concurrency/NotifiedWorkerThread.h"

#include <RadioLib.h>
#include <sys/types.h>

// ESP32 has special rules about ISR code
#ifdef ARDUINO_ARCH_ESP32
Expand Down
2 changes: 2 additions & 0 deletions src/modules/AdminModule.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <sys/types.h>

#pragma once
#include "ProtobufModule.h"
#if HAS_WIFI
Expand Down
1 change: 1 addition & 0 deletions src/serialization/MeshPacketSerializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "../mesh/generated/meshtastic/paxcount.pb.h"
#endif
#include "mesh/generated/meshtastic/remote_hardware.pb.h"
#include <sys/types.h>

std::string MeshPacketSerializer::JsonSerialize(const meshtastic_MeshPacket *mp, bool shouldLog)
{
Expand Down

0 comments on commit 9415254

Please sign in to comment.