aboutsummaryrefslogtreecommitdiff
path: root/control.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 /control.h
parentfcdc0798bb2be5fa00427240afda6bdfd3d0a392 (diff)
supported compilation on Solaris (contributed by James Carlson)
Diffstat (limited to 'control.h')
-rw-r--r--control.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/control.h b/control.h
index bf0beb9..de1214b 100644
--- a/control.h
+++ b/control.h
@@ -29,6 +29,17 @@
* SUCH DAMAGE.
*/
+#ifdef __sun__
+#ifndef U_INT16_T_DEFINED
+#define U_INT16_T_DEFINED
+typedef uint16_t u_int16_t;
+#endif
+#ifndef U_INT32_T_DEFINED
+#define U_INT32_T_DEFINED
+typedef uint32_t u_int32_t;
+#endif
+#endif
+
#define DEFAULT_SERVER_CONTROL_ADDR "::1" /* default IPv6 address for server
* control socket */
#define DEFAULT_SERVER_CONTROL_PORT "5547" /* default TCP port for server