Module: sip-router Branch: master Commit: e09e20ad7524e2d1469187812b8920723481014f URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e09e20ad...
Author: Torrey Searle tsearle@gmail.com Committer: Torrey Searle tsearle@gmail.com Date: Thu Apr 4 15:43:29 2013 +0200
modules/sipt: resolve a compiler warning on osx
---
modules/sipt/ss7.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/sipt/ss7.h b/modules/sipt/ss7.h index ba7f36f..2599b80 100644 --- a/modules/sipt/ss7.h +++ b/modules/sipt/ss7.h @@ -24,6 +24,8 @@ * */
+#ifndef _SIPT_SS7_H_ +#define _SIPT_SS7_H_
/* ISUP messages */ #define ISUP_IAM 0x01 @@ -134,7 +136,9 @@ #define ISUP_PARM_DIVERSION_INFORMATION 0x36 #define ISUP_PARM_UUI 0x20
+#ifndef bool #define bool unsigned char +#endif
/* ISUP Parameter Pseudo-type */ @@ -147,3 +151,4 @@ struct isup_parm_opt { int isup_get_hop_counter(unsigned char *buf, int len); int isup_update_destination(char * dest, int hops, int nai, unsigned char *buf, int len, unsigned char * obuf, int olen);
+#endif