Index: raster/r.los/point.h
===================================================================
--- raster/r.los/point.h	(revision 36174)
+++ raster/r.los/point.h	(working copy)
@@ -52,7 +52,12 @@
 	For delayed deletion of points (see delete3.c).
 	Initially set to NULL in main.c.
 */
+
+#ifdef MAIN
 struct point *DELAYED_DELETE;
+#else
+extern struct point *DELAYED_DELETE;
+#endif
 
 #endif
 

