summaryrefslogtreecommitdiff
path: root/vcl/inc/unx/gtk/gtkgdi.hxx
diff options
context:
space:
mode:
authorJorenz Paragas <j.paragas.237@gmail.com>2016-02-04 19:52:55 -0800
committerMichael Stahl <mstahl@redhat.com>2016-02-22 20:31:47 +0000
commite565d346fc949782703bdefa4d3ce8777b7940a9 (patch)
treefa75be050cfdd832ea33c0bc04b2f680d26237cf /vcl/inc/unx/gtk/gtkgdi.hxx
parent4eea29f79eca05e76bfe90aaa176f39dd0fd80ea (diff)
tdf#82577: Remove prex.h and postx.h wrapper headers
Include the X11 headers directly in files that used to include those wrappers, and add the Pixel typedef to files that use it. prex.h included headers that a file including prex.h might not need at all, so when replacing prex.h and postx.h includes, try including only X11 headers that are actually needed in their place. Also fix saldisp.hxx and i18n_xkb.cxx relying on indirectly included X11 headers. Change-Id: If0c30c7facc28db7f2e410b5e6f1d52d8c7cdfd3 Reviewed-on: https://gerrit.libreoffice.org/22132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/inc/unx/gtk/gtkgdi.hxx')
-rw-r--r--vcl/inc/unx/gtk/gtkgdi.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx
index d4ae5f06af3a..a53ebaf2d86b 100644
--- a/vcl/inc/unx/gtk/gtkgdi.hxx
+++ b/vcl/inc/unx/gtk/gtkgdi.hxx
@@ -20,11 +20,11 @@
#ifndef INCLUDED_VCL_INC_UNX_GTK_GTKGDI_HXX
#define INCLUDED_VCL_INC_UNX_GTK_GTKGDI_HXX
-#include <prex.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include <gdk/gdkkeysyms.h>
-#include <postx.h>
#include <unx/gtk/gtkframe.hxx>