2
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
1ced096557

+ 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 */