diff -Naur nip2-7.30.1.orig/src/parser.h nip2-7.30.1/src/parser.h
--- nip2-7.30.1.orig/src/parser.h	2012-09-19 14:58:57.722847887 -0700
+++ nip2-7.30.1/src/parser.h	2012-09-19 15:10:53.300434547 -0700
@@ -55,7 +55,8 @@
 void nip2yyerror( const char *sub, ... )
 	__attribute__((format(printf, 1, 2)));
 void yyerror( const char *msg ); 
-extern int yyleng;			/* lex stuff */
+typedef size_t yy_size_t;
+extern yy_size_t yyleng;
 
 /* Lex gathers tokens here for workspace.c
  */
