Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/cad/PrusaSlicer/files/patch-src_slic3r_GUI_InstanceCheck.cpp
16151 views
1
--- src/slic3r/GUI/InstanceCheck.cpp.orig 2021-01-11 13:01:51 UTC
2
+++ src/slic3r/GUI/InstanceCheck.cpp
3
@@ -23,7 +23,7 @@
4
#include <strsafe.h>
5
#endif //WIN32
6
7
-#if __linux__
8
+#if defined(__linux__) || defined (__FreeBSD__)
9
#include <dbus/dbus.h> /* Pull in all of D-Bus headers. */
10
#endif //__linux__
11
12
@@ -169,7 +169,7 @@ namespace instance_check_internal
13
return false;
14
}
15
16
-#elif defined(__linux__)
17
+#elif defined(__linux__) || defined (__FreeBSD__)
18
19
static bool send_message(const std::string &message_text, const std::string &version)
20
{
21
22