diff options
author | Pierre Ossman <ossman@cendio.se> | 2016-05-13 15:53:25 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2016-05-13 15:53:25 +0200 |
commit | 88903f22050de4879b01a0814a680d1d4d1d7ee4 (patch) | |
tree | d434d7ba988336d1906454b34ad1d099889b6acf /common/rfb/Region.cxx | |
parent | 4e7d05c99258fe9968dfff7c77b82328bf6d2d2d (diff) | |
download | tigervnc-88903f22050de4879b01a0814a680d1d4d1d7ee4.tar.gz tigervnc-88903f22050de4879b01a0814a680d1d4d1d7ee4.zip |
Split Xregion headers according to upstream
We've stolen the Xregion code from libX11, so let's keep the same
header naming so that it is easier to keep things in sync.
Diffstat (limited to 'common/rfb/Region.cxx')
-rw-r--r-- | common/rfb/Region.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/rfb/Region.cxx b/common/rfb/Region.cxx index 7965a6c4..995f8c5b 100644 --- a/common/rfb/Region.cxx +++ b/common/rfb/Region.cxx @@ -24,11 +24,15 @@ // #include <rfb/Region.h> -#include <Xregion/Xregion.h> -#include <Xregion/region.h> #include <assert.h> #include <stdio.h> +extern "C" { +#include <Xregion/Xlibint.h> +#include <Xregion/Xutil.h> +#include <Xregion/Xregion.h> +} + // A _RectRegion must never be passed as a return parameter to the Xlib region // operations. This is because for efficiency its "rects" member has not been // allocated with Xmalloc. It is however safe to pass it as an input |