corrected problems reported by Warren McCoubrey with compilation problems on Redhat...
authorVaclav Kubart <vaclav.kubart@iptel.org>
Wed, 1 Mar 2006 07:40:07 +0000 (07:40 +0000)
committerVaclav Kubart <vaclav.kubart@iptel.org>
Wed, 1 Mar 2006 07:40:07 +0000 (07:40 +0000)
cfg.y
route_struct.h

diff --git a/cfg.y b/cfg.y
index 09b54e7..7775404 100644 (file)
--- a/cfg.y
+++ b/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
index fe22d0e..b0ee586 100644 (file)
@@ -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"