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.
diff --git a/common/rfb/Region.cxx b/common/rfb/Region.cxx
index 7965a6c..995f8c5 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