瀏覽代碼

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

Vaclav Kubart 19 年之前
父節點
當前提交
4a74562994
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      cfg.y
  2. 1 0
      route_struct.h

+ 1 - 1
cfg.y

@@ -440,7 +440,7 @@ id_lst:
 	;
 
 flags_decl:		FLAGS_DECL	flag_list
-			|	FLAGS_DECL error { yyerror("flag list expected\n"); };
+			|	FLAGS_DECL error { yyerror("flag list expected\n"); }
 ;
 flag_list:		flag_spec
 			|	flag_spec COMMA flag_list

+ 1 - 0
route_struct.h

@@ -41,6 +41,7 @@
 #ifndef route_struct_h
 #define route_struct_h
 
+#include <sys/types.h>
 #include <regex.h>
 #include "select.h"
 #include "usr_avp.h"