Make sure we can actually build without XRandR libraries.
#include <unistd.h>
#include <rfb/LogWriter.h>
+#include <rfb/Exception.h>
#include <x0vncserver/XDesktop.h>
#endif
#ifdef HAVE_XRANDR
#include <X11/extensions/Xrandr.h>
-#include <rfb/Exception.h>
#include <RandrGlue.h>
extern "C" {
void vncSetGlueContext(Display *dpy, void *res);
return ret;
#else
+ (void)fb_width;
+ (void)fb_height;
+ (void)layout;
return rfb::resultProhibited;
#endif /* HAVE_XRANDR */
}