Index: src/slic3r/Utils/WifiScanner.cpp
--- src/slic3r/Utils/WifiScanner.cpp.orig
+++ src/slic3r/Utils/WifiScanner.cpp
@@ -17,7 +17,7 @@
 #include "WifiScannerMac.h"
 #endif 
 
-#if __linux__
+#if __linux__ || defined(__OpenBSD__)
 #include <dbus/dbus.h> /* Pull in all of D-Bus headers. */
 #endif //__linux__
 
@@ -489,4 +489,4 @@ void WifiScanner::fill_wifi_map(Slic3r::WifiSsidPskMap
         wlanFreeMemoryFunc(interface_list);
 }
 #endif // _WIN32
-} // Slic3r
\ No newline at end of file
+} // Slic3r
