chiark / gitweb /
xscsize.c: Fix build failure if we had no Xrandr.
[xtoys] / xscsize.c
index 99d729f1f0308143a7cb276a2e73b5b65d8365f7..7c40de9283d755289abb0448ab7570753bde2998 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