[sr-dev] git:master: core: include str.h in parse_param.h to avoid compile errors

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 27 14:44:20 CEST 2012


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Tue Mar 27 13:56:32 2012 +0200

core: include str.h in parse_param.h to avoid compile errors

- it happened when parse_param.h is used first, alone or without any
  predecessors including str.h

---

 parser/parse_param.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/parser/parse_param.h b/parser/parse_param.h
index 1b92de6..edcc62f 100644
--- a/parser/parse_param.h
+++ b/parser/parse_param.h
@@ -43,6 +43,7 @@
 
 #include <stdio.h>
 
+#include "../str.h"
 
 /*! \brief
  * Supported types of parameters




More information about the sr-dev mailing list