mirror of
https://github.com/meshtastic/firmware.git
synced 2026-06-07 00:06:13 -04:00
fix: update PiWebServer docs for macOS and add explicit cstring include
Agent-Logs-Url: https://github.com/meshtastic/firmware/sessions/3ce82582-23e0-4afe-b22f-b24f81721488 Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ca1d4172db
commit
51f6168a76
@@ -37,6 +37,7 @@
|
||||
// Used by getMacAddr()'s macOS fallback to read the en0 link-layer address.
|
||||
// `getifaddrs()` is the BSD-portable way; `<net/if_dl.h>` provides the
|
||||
// `sockaddr_dl` cast and the `LLADDR()` macro that points at the 6-byte MAC.
|
||||
#include <cstring> // strcmp, memcpy
|
||||
#include <ifaddrs.h>
|
||||
#include <net/if.h>
|
||||
#include <net/if_dl.h>
|
||||
|
||||
Reference in New Issue
Block a user