File source-lacheck.dif of Package texlive

--- texk/lacheck/lacheck.lex
+++ texk/lacheck/lacheck.lex	2008-03-05 13:59:37.000000000 +0000
@@ -117,6 +117,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 
 #ifdef WIN32
 #include <win32lib.h>
@@ -1042,11 +1043,13 @@ char *name;
 void g_checkend(n)
 int n;
 {
-    if ( check_top_level_end(yytext,n) == 1 ) 
-       if (  CG_TYPE != n  )
+    if ( check_top_level_end(yytext,n) == 1 )
+     {
+      if (  CG_TYPE != n  )
 	 print_bad_match(yytext,n);
-       else
+      else
 	pop();
+     }
 }
 
 void e_checkend(n, name)
openSUSE Build Service is sponsored by