Index: neercs/trunk/src/screens.c
===================================================================
--- neercs/trunk/src/screens.c	(revision 2426)
+++ neercs/trunk/src/screens.c	(revision 2431)
@@ -29,4 +29,5 @@
 #include "neercs.h"
 
+#ifdef USE_GRAB
 struct screen* create_screen_grab(int w, int h, int pid)
 {
@@ -56,4 +57,5 @@
     return s;
 }
+#endif
 
 struct screen* create_screen(int w, int h, char *command)
