--- electron/atom/browser/browser.h.orig 2019-03-16 12:10:27 UTC +++ electron/atom/browser/browser.h @@ -207,10 +207,10 @@ class Browser : public WindowListObserver { PCWSTR GetAppUserModelID(); #endif // defined(OS_WIN) -#if defined(OS_LINUX) +#if defined(OS_LINUX) || defined(OS_BSD) // Whether Unity launcher is running. bool IsUnityRunning(); -#endif // defined(OS_LINUX) +#endif // defined(OS_LINUX) || defined(OS_BSD) // Tell the application to open a file. bool OpenFile(const std::string& file_path);