xscsize.c: Fix build failure if we had no Xrandr.
[xtoys] / xscsize.c
index 99d729f..7c40de9 100644 (file)
--- a/xscsize.c
+++ b/xscsize.c
@@ -121,13 +121,13 @@ int main(int argc, char *argv[])
   unsigned f = 0;
   unsigned long wd, ht;
   int sc;
+  struct screen *scr;
+  size_t nscr, j;
 #ifdef HAVE_XRANDR
   Window root;
   int rrev, rrerr, rrmaj, rrmin;
   XRRScreenResources *res;
   XRRCrtcInfo *crtc;
-  struct screen *scr;
-  size_t nscr, j;
   int i;
 #endif