diff options
author | Jorenz Paragas <j.paragas.237@gmail.com> | 2016-02-04 19:52:55 -0800 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-22 20:31:47 +0000 |
commit | e565d346fc949782703bdefa4d3ce8777b7940a9 (patch) | |
tree | fa75be050cfdd832ea33c0bc04b2f680d26237cf /vcl/unx/generic/gdi/salvd.cxx | |
parent | 4eea29f79eca05e76bfe90aaa176f39dd0fd80ea (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/unx/generic/gdi/salvd.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/salvd.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/gdi/salvd.cxx b/vcl/unx/generic/gdi/salvd.cxx index 97b1d3be778b..f4d8961c93a5 100644 --- a/vcl/unx/generic/gdi/salvd.cxx +++ b/vcl/unx/generic/gdi/salvd.cxx @@ -19,9 +19,9 @@ #include <vcl/sysdata.hxx> -#include <prex.h> +#include <X11/Xlib.h> +#include <X11/Xutil.h> #include <X11/extensions/Xrender.h> -#include <postx.h> #include <unx/salunx.h> #include <unx/saldata.hxx> |