$NetBSD: patch-ipc_glue_GeckoChildProcessHost.cpp,v 1.1 2022/07/21 23:56:39 nia Exp $ * Support Solaris * Fix NetBSD linking --- ipc/glue/GeckoChildProcessHost.cpp.orig 2022-01-08 15:41:40.900244448 +0000 +++ ipc/glue/GeckoChildProcessHost.cpp @@ -4,7 +4,13 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#if defined(__NetBSD__) +_Pragma("GCC visibility push(default)") +#endif #include "GeckoChildProcessHost.h" +#if defined(__NetBSD__) +_Pragma("GCC visibility pop") +#endif #include "base/command_line.h" #include "base/process_util.h"