Browse code

corrected problems reported by Warren McCoubrey with compilation problems on Redhat 9 with gcc 3.2.2 and bison 1.35 (bison++)

Vaclav Kubart authored on 01/03/2006 07:40:07
Showing 2 changed files
... ...
@@ -440,7 +440,7 @@ id_lst:
440 440
 	;
441 441
 
442 442
 flags_decl:		FLAGS_DECL	flag_list
443
-			|	FLAGS_DECL error { yyerror("flag list expected\n"); };
443
+			|	FLAGS_DECL error { yyerror("flag list expected\n"); }
444 444
 ;
445 445
 flag_list:		flag_spec
446 446
 			|	flag_spec COMMA flag_list
... ...
@@ -41,6 +41,7 @@
41 41
 #ifndef route_struct_h
42 42
 #define route_struct_h
43 43
 
44
+#include <sys/types.h>
44 45
 #include <regex.h>
45 46
 #include "select.h"
46 47
 #include "usr_avp.h"