summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-21 16:15:56 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-21 16:15:56 +0800
commitb8e727b023876c34ae3b1fca0f598c8b2dbe4bcd (patch)
tree1532087b88f2ad0cd6dfbb9a86ee94bc1cbe9ffa
parentf429c35bb46d4632e56cfff8e0fc7150baca3d27 (diff)
GLib header is included only when using GTK
-rw-r--r--indra/newview/llappviewerlinux.h2
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" {