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

Author: Jason Penton <[email protected]>
Committer: Jason Penton <[email protected]>
Date:   Mon Jan  7 11:02:06 2013 +0200

md5.h: fixed types for Sun Solaris

---

 md5.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/md5.h b/md5.h
index 211a131..f094d10 100644
--- a/md5.h
+++ b/md5.h
@@ -22,6 +22,13 @@
 /* Probably not the proper place, but will do for Debian: */
 #include <sys/types.h>
 
+/* fix types for Sun Solaris */
+#if defined(__SVR4) || defined(__sun)
+    typedef uint8_t u_int8_t;
+    typedef uint32_t u_int32_t;
+    typedef uint64_t u_int64_t;
+#endif
+
 typedef struct MD5Context {
        u_int32_t state[4];                     /* state */
        u_int64_t count;                        /* number of bits, mod 2^64 */


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to