diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-08-21 16:15:56 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-08-21 16:15:56 +0800 |
commit | b8e727b023876c34ae3b1fca0f598c8b2dbe4bcd (patch) | |
tree | 1532087b88f2ad0cd6dfbb9a86ee94bc1cbe9ffa | |
parent | f429c35bb46d4632e56cfff8e0fc7150baca3d27 (diff) |
GLib header is included only when using GTK
-rw-r--r-- | indra/newview/llappviewerlinux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llappviewerlinux.h b/indra/newview/llappviewerlinux.h index 0289c43043..14e481f054 100644 --- a/indra/newview/llappviewerlinux.h +++ b/indra/newview/llappviewerlinux.h @@ -27,9 +27,11 @@ #ifndef LL_LLAPPVIEWERLINUX_H #define LL_LLAPPVIEWERLINUX_H +#if LL_GTK extern "C" { # include <glib.h> } +#endif #if LL_DBUS_ENABLED extern "C" { |