Browse Source

modules:sipcapture: fixed uint types and IPPROTO_IPIP on Solaris.

		Thanks to Jason Penton <[email protected]> for the bug report and testing.
Alexandr Dubovikov 14 years ago
parent
commit
1ced096557
1 changed files with 6 additions and 0 deletions
  1. 6 0
      modules/sipcapture/sipcapture.h

+ 6 - 0
modules/sipcapture/sipcapture.h

@@ -23,6 +23,12 @@
  *
  */
 
+#ifdef __OS_solaris
+typedef uint8_t u_int8_t;
+typedef uint16_t u_int16_t;
+#define IPPROTO_IPIP IPPROTO_ENCAP /* Solaris IPIP protocol has name ENCAP */
+#endif
+
 
 struct hep_hdr{
     u_int8_t hp_v;            /* version */