[SR-Dev] git:master: Added missing hash_func.h header

Jan Janak jan at iptel.org
Wed Mar 11 01:14:18 CET 2009


Module: sip-router
Branch: master
Commit: 1ac9ca35f15bd9358feaa5820835c7d3ae87fec1
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1ac9ca35f15bd9358feaa5820835c7d3ae87fec1

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Wed Mar 11 01:12:24 2009 +0100

Added missing hash_func.h header

h_table.h uses TABLE_ENTRIES macro but did not include hash_func.h
where the macro is defined. When h_table.h is included from another
modules which does not include hash_func.h then the modules does
not compile

---

 modules/tm/h_table.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/tm/h_table.h b/modules/tm/h_table.h
index d69daa8..1710584 100644
--- a/modules/tm/h_table.h
+++ b/modules/tm/h_table.h
@@ -71,6 +71,7 @@
 #include "../../usr_avp.h"
 #include "../../timer.h"
 #include "../../atomic_ops.h"
+#include "../../hash_func.h"
 #include "config.h"
 
 /* if TM_DIFF_RT_TIMEOUT is defined, different retransmissions timeouts




More information about the sr-dev mailing list