summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-11-23 08:51:08 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-11-23 08:51:28 +0100
commit444dc2255a824d392f46fe00a2bac6b60bf2d227 (patch)
tree320423174ee0bd2f3ce94f63e92f327217119429 /vcl
parentf1035c16609e03827f912d53e183e54585169f0d (diff)
Include gio headers only when gio is enabled
Change-Id: I04058cd7bc96b1380d0ac85b6090073810996210
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/gtk/gtksalmenu.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx
index cdd29f98fc9a..fc0632ffb87d 100644
--- a/vcl/inc/unx/gtk/gtksalmenu.hxx
+++ b/vcl/inc/unx/gtk/gtksalmenu.hxx
@@ -11,7 +11,9 @@
#define GTKSALMENU_HXX
#include <vector>
+#ifdef ENABLE_GIO
#include <gio/gio.h>
+#endif
#include <unx/salmenu.h>
#include <unx/gtk/gtkframe.hxx>