--- src/slic3r/Utils/WifiScanner.cpp.orig 2024-02-29 13:03:32 UTC +++ src/slic3r/Utils/WifiScanner.cpp @@ -17,7 +17,7 @@ #include "WifiScannerMac.h" #endif -#if __linux__ +#if defined(__linux__) || defined(__FreeBSD__) #include /* Pull in all of D-Bus headers. */ #endif //__linux__ @@ -353,7 +353,7 @@ std::string WifiScanner::get_psk(const std::string& ss } return {}; } - +} // Slic3r #ifdef _WIN32 // Fill SSID map. Implementation from Raspberry Pi imager and Win32 Api examples. // https://github.com/raspberrypi/rpi-imager/blob/qml/src/windows/winwlancredentials.cpp @@ -489,4 +489,4 @@ void WifiScanner::fill_wifi_map(Slic3r::WifiSsidPskMap wlanFreeMemoryFunc(interface_list); } #endif // _WIN32 -} // Slic3r \ No newline at end of file +//} // Slic3r