--- indent-2.2.9/src/output.c.~1~	2002-12-12 20:36:49.000000000 +0300
+++ indent-2.2.9/src/output.c	2015-02-04 15:54:54.561563206 +0300
@@ -15,6 +15,7 @@
 #include <sys/types.h>
 #include <utime.h>
 #include <sys/stat.h>
+#include <stdlib.h>
 
 #include "indent.h"
 #include "sys.h"
@@ -23,7 +24,7 @@
 
 RCSTAG_CC ("$Id: output.c,v 1.5 2002/12/12 17:36:49 david Exp $");
 
-static FILE            * output       = NULL;
+FILE            * output       = NULL;
 static BOOLEAN           inhibited    = 0;
 static buf_break_st_ty * buf_break_list = NULL;