aboutsummaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorSUZUKI, Shinsuke <suz@kame.net>2007-02-27 14:21:41 +0000
committerBjørn Mork <bjorn@mork.no>2010-08-06 15:37:36 +0200
commitfe2c74572f875332b461ba2a17a594a7ee4eb2d3 (patch)
tree84ca26e3f0168158823d7c741479e37ba069a862 /auth.h
parentfcdc0798bb2be5fa00427240afda6bdfd3d0a392 (diff)
supported compilation on Solaris (contributed by James Carlson)
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/auth.h b/auth.h
index 8413658..84564d9 100644
--- a/auth.h
+++ b/auth.h
@@ -29,6 +29,14 @@
* SUCH DAMAGE.
*/
+#ifdef __sun__
+#define __P(x) x
+#ifndef U_INT32_T_DEFINED
+#define U_INT32_T_DEFINED
+typedef uint32_t u_int32_t;
+#endif
+#endif
+
#define MD5_DIGESTLENGTH 16
/* secret key information for delayed authentication */